Skip to content

Instantly share code, notes, and snippets.

@Albus
Created August 6, 2023 19:02
Show Gist options
  • Save Albus/0800f0282a494447fe40500b60de2e79 to your computer and use it in GitHub Desktop.
Save Albus/0800f0282a494447fe40500b60de2e79 to your computer and use it in GitHub Desktop.
Удаление профилей пользователей windows
Get-CimInstance -Class Win32_UserProfile | Where-Object { $_.LocalPath.split('\')[-1] -eq 'anton.rastyazhenko' } | Remove-CimInstance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment