Microsoft.PowerShell.Management

本節包含隨 PowerShell Microsoft.PowerShell.Management 模組一起安裝的 Cmdlet 說明主題。 管理模組包含 Cmdlet,可協助您在 PowerShell 中管理 Windows。

Microsoft.PowerShell.Management

Add-Content

Adds content to the specified items, such as adding words to a file.

Clear-Content

Deletes the contents of an item, but does not delete the item.

Clear-Item

Clears the contents of an item, but does not delete the item.

Clear-ItemProperty

Clears the value of a property but does not delete the property.

Clear-RecycleBin

Clears the contents of the current user's recycle bin.

Convert-Path

Converts a path from a PowerShell path to a PowerShell provider path.

Copy-Item

Copies an item from one location to another.

Copy-ItemProperty

Copies a property and value from a specified location to another location.

Debug-Process

Debugs one or more processes running on the local computer.

Get-ChildItem

Gets the items and child items in one or more specified locations.

Get-Clipboard

Gets the contents of the clipboard.

Get-ComputerInfo

Gets a consolidated object of system and operating system properties.

Get-Content

Gets the content of the item at the specified location.

Get-HotFix

Gets the hotfixes that are installed on local or remote computers.

Get-Item

Gets the item at the specified location.

Get-ItemProperty

Gets the properties of a specified 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.

Get-Process

Gets the processes that are running on the local computer.

Get-PSDrive

Gets drives in the current session.

Get-PSProvider

Gets information about the specified PowerShell provider.

Get-Service

Gets the services on the computer.

Get-TimeZone

Gets the current time zone or a list of available time zones.

Invoke-Item

Performs the default action on the specified item.

Join-Path

Combines a path and a child path into a single path.

Move-Item

Moves an item from one location to another.

Move-ItemProperty

Moves a property from one location to another.

New-Item

Creates a new item.

New-ItemProperty

Creates a new property for an item and sets its value.

New-PSDrive

Creates temporary and persistent drives that are associated with a location in an item data store.

New-Service

Creates a new Windows service.

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.

Remove-Item

Deletes the specified items.

Remove-ItemProperty

Deletes the property and its value from an item.

Remove-PSDrive

Deletes temporary PowerShell drives and disconnects mapped network drives.

Remove-Service

Removes a Windows service.

Rename-Computer

Renames a computer.

Rename-Item

Renames an item in a PowerShell provider namespace.

Rename-ItemProperty

Renames a property of an item.

Resolve-Path

Resolves the wildcard characters in a path, and displays the path contents.

Restart-Computer

Restarts the operating system on local and remote computers.

Restart-Service

Stops and then starts one or more services.

Resume-Service

Resumes one or more suspended (paused) services.

Set-Clipboard

Sets the contents of the clipboard.

Set-Content

Writes new content or replaces existing content in a file.

Set-Item

Changes the value of an item to the value specified in the command.

Set-ItemProperty

Creates or changes the value of a property of an item.

Set-Location

Sets the current working location to a specified location.

Set-Service

Starts, stops, and suspends a service, and changes its properties.

Set-TimeZone

Sets the system time zone to a specified time zone.

Split-Path

Returns the specified part of a path.

Start-Process

Starts one or more processes on the local computer.

Start-Service

Starts one or more stopped services.

Stop-Computer

Stops (shuts down) local and remote computers.

Stop-Process

Stops one or more running processes.

Stop-Service

Stops one or more running services.

Suspend-Service

Suspends (pauses) one or more running services.

Test-Connection

Sends ICMP echo request packets, or pings, to one or more computers.

Test-Path

Determines whether all elements of a path exist.

Wait-Process

Waits for the processes to be stopped before accepting more input.