Skip to content

Microsoft.Powershell.Management

jasper-zanjani edited this page Aug 5, 2020 · 2 revisions
Cmdlet Description
Get-ChildItem Gets the items and child items in one or more specified locations.
Get-Clipboard Gets the contents of the clipboard. [!NOTE] > On Linux, this cmdlet requires the xclip utility to be in the path.
Set-Clipboard Sets the contents of the clipboard.
Add-Computer Add the local computer to a domain or workgroup.
Rename-Computer Renames a computer.
Restart-Computer Restarts the operating system on local and remote computers.
Stop-Computer Stops (shuts down) local and remote computers.
Get-ComputerInfo Gets a consolidated object of system and operating system properties.
Test-Connection Sends ICMP echo request packets, or pings, to one or more computers.
Add-Content Add content, such as words or data, to a file
Clear-Content Deletes the contents of an item, but does not delete the item.
Get-Content Gets the content of the item at the specified location.
Set-Content Writes new content or replaces existing content in a file.
Clear-EventLog Clears all entries from specified event logs on the local or remote computers.
Get-EventLog Gets the events in an event log, or a list of the event logs, on the local computer or remote computers.
Limit-EventLog Sets the event log properties that limit the size of the event log and the age of its entries.
New-EventLog Creates a new event log and a new event source on a local or remote computer.
Remove-EventLog Deletes an event log or unregisters an event source.
Show-EventLog Displays the event logs of the local or a remote computer in Event Viewer.
Write-EventLog Writes an event to an event log.
Get-HotFix Gets the hotfixes that are installed on local or remote computers.
Clear-Item Clears the contents of an item, but does not delete the item.
Copy-Item Copies an item from one location to another.
Get-Item Gets the item at the specified location.
Invoke-Item Performs the default action on the specified item.
Move-Item Moves an item from one location to another.
New-Item Create a new item and set its value. The type of item created depends on the context.
Remove-Item Deletes the specified items.
Rename-Item Renames an item in a PowerShell provider namespace.
Set-Item Changes the value of an item to the value specified in the command.
Clear-ItemProperty Clears the value of a property but does not delete the property.
Copy-ItemProperty Copies a property and value from a specified location to another location.
Get-ItemProperty Gets the properties of a specified item.
Move-ItemProperty Moves a property from one location to another.
New-ItemProperty Creates a new property for an item and sets its value.
Remove-ItemProperty Deletes the property and its value from an item.
Rename-ItemProperty Renames a property of an item.
Set-ItemProperty Creates or changes the value of a property of an item.
Get-ItemPropertyValue Gets the value for one or more properties of a specified item.
Get-Location Gets information about the current working location or a location stack.
Pop-Location Changes the current location to the location most recently pushed onto the stack.
Push-Location Adds the current location to the top of a location stack.
Set-Location Sets the current working location to a specified location.
Convert-Path Converts a path from a PowerShell path to a PowerShell provider path.
Join-Path Combines a path and a child path into a single path.
Resolve-Path Resolves the wildcard characters in a path, and displays the path contents.
Split-Path Returns the specified part of a path.
Test-Path Determines whether all elements of a path exist.
Get-Process Display running processes
Debug-Process Debugs one or more processes running on the local computer.
Start-Process Start one or more processes on the local computer.
Stop-Process Stop one or more running processes
Wait-Process Waits for the processes to be stopped before accepting more input.
Get-PSDrive Gets drives in the current session.
New-PSDrive Creates temporary and persistent mapped network drives.
Remove-PSDrive Deletes temporary PowerShell drives and disconnects mapped network drives.
Get-PSProvider Gets information about the specified PowerShell provider.
Clear-RecycleBin Clears the contents of a recycle bin.
Get-Service Display services
New-Service Creates a new Windows service.
Remove-Service Removes a Windows service.
Restart-Service Stops and then starts one or more services.
Resume-Service Resumes one or more suspended (paused) services.
Set-Service Starts, stops, and suspends a service, and changes its properties
Start-Service Start one or more stopped services
Stop-Service Stop one or more services
Suspend-Service Suspends (pauses) one or more running services.
Get-TimeZone Gets the current time zone or a list of available time zones.
Set-TimeZone Sets the system time zone to a specified time zone.
Complete-Transaction Commit the transaction
Start-Transaction Start a new transaction
Get-WMIObject Gets instances of Windows Management Instrumentation (WMI) classes or information about the available classes.
Clone this wiki locally