added RMM shim script to repo
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# Note: this script came from https://adamtheautomator.com/powershell-delete-user-profile/
|
||||
|
||||
$UserToDelete = '{[UserToDelete]}'
|
||||
Get-CimInstance -Class Win32_UserProfile | Where-Object { $_.LocalPath.split('\')[-1] -eq "${UserToDelete}" } | Remove-CimInstance
|
||||
Reference in New Issue
Block a user