Created
August 6, 2023 19:02
-
-
Save Albus/0800f0282a494447fe40500b60de2e79 to your computer and use it in GitHub Desktop.
Удаление профилей пользователей windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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