Remove-UserProfile.ps1
The Cmdlet. Remove-WindowsUserProfile.ps1 deletes Microsoft Windows user profile.
This PowerShell cmdlet deletes a user profile from a local machine by specifying the username. It removes both the user profile directory and associated registry keys.
-
What is it ?
- Script to be run once in a while.
- Fonction to be added in your code
- User Interface to be user friendly
-
Who is it for ?
- IT Support
- Power User
- Bets Tester
-
Why to use it ?
- Clean the Operating Sytem with the unused user profile.
- Clean up on 32-bit & 64-bit
- Delete account not supported by native Windows tools
-
When to use it ?
- Whenever it is necessary to make room on the computer.
- Remove a corrupted account
- For testing purpose
Get information about
- Windows version ; Version must be 10 or alter
- Cmdlet
Get-ComputerInfo
- Environment Class
[Environment]::OSVersion
- Powershell version ; Version must be 6 or later
- Cmdlet
Get-Host
- Automatic Variable
$PSVersionTable
- Open a prompt, Powershell or Ms-Dos with eleveted permissions
- Run the command line
- PowerShell
winget install --id Microsoft.Powershell --source winget
- Open a PowerShell prompt with eleveted permissions
- Set the PowerShell execution policies for Windows computers to Unrestricted
- Download the archive of the project
- Extract the content of the archive
Windows | Linux | MacOS |
---|---|---|
In progress | To be decided | To be decided |
- Windows
- Script
- Cmdlet
- Interface
Distributed under the Unlicense. See LICENSE
for more information.