Skip to content
Deviousweb

Lincolnshire Based MSP

  • Home
  • Contact Us
  • AI
  • 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

  • Ordio – Home Assistant Music Streamer
  • Claude Code: the patterns that hold up
  • Home Assistant – ESP32-S3 Dashboard
  • How to Display the Playlist Name on Your AzuraCast Public Page
  • Setting Up an Alarm Clock with Home Assistant and Alexa: A Complete Guide
© 2026 Deviousweb • Built with GeneratePress

Loading Comments...

You must be logged in to post a comment.