Microsoft.PowerShell.Management module: setup and commands
Documentation: Microsoft Learn
Use core management cmdlets for services, processes, files and computers, and verify object types before filtering or formatting output.
Getting it
Built into every PowerShell edition on every platform, with no import step needed.
Examples
Show reference output
Show reference output
What it is for
Reach for it when a task involves paths, service state, or a running process. It also owns the registry provider, so anything under HKLM: or HKCU: goes through Get-ItemProperty and Set-ItemProperty here rather than through a separate module.
Typical tasks
- Enumerate files by age or size
- Query and control Windows service state
- Read and write registry values
- Inspect running processes and their image paths
- Copy content between two providers
- Test whether a path exists before acting on it
Check the installed version
Compare the module path and version with the session used by your scheduled task or automation account. Reach for it when a task involves paths, service state, or a running process. It also owns the registry provider, so anything under HKLM: or HKCU: goes through Get-ItemProperty and Set-ItemProperty here rather than through a separate module.
Primary documentation
Get-ChildItem reference · Where-Object reference · Get-Process reference