Skip to content
Deviousweb

Lincolnshire Based MSP

  • Home
  • Contact Us
  • Blogs
    • 3D Printing
    • Office 365
    • Linux
    • Infrastructure
    • Windows
    • AWS
    • iOT
      • Home Assistant
      • RaspberryPi
  • Account Area
    • Login
    • Password Reset
  • Privacy Policy
    • Privacy Tools

profiles

Script to remove files/folders from all local profiles

22nd March 201816th December 2015 by jimmy

I had a requirement recently that required a folder and all files under it to be removed from all local user profiles on a machine – turns out this is really simple to do in powershell: # Get a list of all local profiles on the target machine # $users = Get-ChildItem c:\users # Now … Read more

Categories Powershell, Windows Tags powershell, profiles, windows Leave a comment

Recent Posts

  • How to Display the Playlist Name on Your AzuraCast Public Page
  • Setting Up an Alarm Clock with Home Assistant and Alexa: A Complete Guide
  • Get Computer Name from Azure Device ID
  • Domain Replication Health
  • Introducing Google Bookmarks Manager for GPOs: A Simple and Customizable Tool for Managing Google Bookmarks
© 2025 Deviousweb • Built with GeneratePress
 

Loading Comments...
 

You must be logged in to post a comment.