This module that helps to manage user profiles on local and remote computers.
UserProfile is CDXML-based module that helps to manage user profiles. It allows to find, reckognize, delete profiles or change the profile owner. All operations are based on Win32_UserProfile CIM object.
The profile management can be performed remotely on many computers, using CIM Sessions.
Possible commands are:
Cmdlet | Description |
---|---|
Get-UserProfile | find user profiles |
Get-ProfileOwner | show user profile owner name instead of SID |
Remove-UserProfile | deletes user profiles |
Set-ProfileOwner | changes the owner of user profile |
Get this module from PowerShell Gallery
- Ensure that you have PowershellGet module. If you have PowerShell 5 or newer, you already have that module. For Powershell 3 and 4, you can follow the instructions to install it using PackageManagement MSI.
- Now get the module:
Install-Module UserProfile
- If you want to inspect module instead of installing it:
Save-Module UserProfile