Microsoft.PowerShell.Core

本節包含隨 PowerShell Microsoft.PowerShell.Core 模組一起安裝的 Cmdlet 說明主題。 Core 模組包含 Cmdlet 和提供者,可管理 PowerShell 的基本功能。

Microsoft.PowerShell.Core

Add-History

Appends entries to the session history.

Clear-History

Deletes entries from the PowerShell session command history.

Clear-Host

Clears the display in the host program.

Connect-PSSession

Reconnects to disconnected sessions.

Debug-Job

Debugs a running background or remote job.

Disable-ExperimentalFeature

Disable an experimental feature on startup of new instance of PowerShell.

Disable-PSRemoting

Prevents PowerShell endpoints from receiving remote connections.

Disable-PSSessionConfiguration

Disables session configurations on the local computer.

Disconnect-PSSession

Disconnects from a session.

Enable-ExperimentalFeature

Enable an experimental feature on startup of new instance of PowerShell.

Enable-PSRemoting

Configures the computer to receive remote commands.

Enable-PSSessionConfiguration

Enables the session configurations on the local computer.

Enter-PSHostProcess

Connects to and enters into an interactive session with a local process.

Enter-PSSession

Starts an interactive session with a remote computer.

Exit-PSHostProcess

Closes an interactive session with a local process.

Exit-PSSession

Ends an interactive session with a remote computer.

Export-ModuleMember

Specifies the module members that are exported.

ForEach-Object

Performs an operation against each item in a collection of input objects.

Get-Command

Gets all commands.

Get-ExperimentalFeature

Gets experimental features.

Get-Help

Displays information about PowerShell commands and concepts.

Get-History

Gets a list of the commands entered during the current session.

Get-Job

Gets PowerShell background jobs that are running in the current session.

Get-Module

List the modules imported in the current session or that can be imported from the PSModulePath.

Get-PSHostProcessInfo

Gets process information about the PowerShell host.

Get-PSSession

Gets the PowerShell sessions on local and remote computers.

Get-PSSessionCapability

Gets the capabilities of a specific user on a constrained session configuration.

Get-PSSessionConfiguration

Gets the registered session configurations on the computer.

Get-PSSubsystem

Retrieves information about the subsystems registered in PowerShell.

Import-Module

Adds modules to the current session.

Invoke-Command

Runs commands on local and remote computers.

Invoke-History

Runs commands from the session history.

New-Module

Creates a new dynamic module that exists only in memory.

New-ModuleManifest

Creates a new module manifest.

New-PSRoleCapabilityFile

Creates a file that defines a set of capabilities to be exposed through a session configuration.

New-PSSession

Creates a persistent connection to a local or remote computer.

New-PSSessionConfigurationFile

Creates a file that defines a session configuration.

New-PSSessionOption

Creates an object that contains advanced options for a PSSession.

New-PSTransportOption

Creates an object that contains advanced options for a session configuration.

Out-Default

Sends the output to the default formatter and to the default output cmdlet.

Out-Host

Sends output to the command line.

Out-Null

Hides the output instead of sending it down the pipeline or displaying it.

Receive-Job

Gets the results of the PowerShell background jobs in the current session.

Receive-PSSession

Gets results of commands in disconnected sessions

Register-ArgumentCompleter

Registers a custom argument completer.

Register-PSSessionConfiguration

Creates and registers a new session configuration.

Remove-Job

Deletes a PowerShell background job.

Remove-Module

Removes modules from the current session.

Remove-PSSession

Closes one or more PowerShell sessions (PSSessions).

Save-Help

Downloads and saves the newest help files to a file system directory.

Set-PSDebug

Turns script debugging features on and off, sets the trace level, and toggles strict mode.

Set-PSSessionConfiguration

Changes the properties of a registered session configuration.

Set-StrictMode

Establishes and enforces coding rules in expressions, scripts, and script blocks.

Start-Job

Starts a PowerShell background job.

Stop-Job

Stops a PowerShell background job.

Test-ModuleManifest

Verifies that a module manifest file accurately describes the contents of a module.

Test-PSSessionConfigurationFile

Verifies the keys and values in a session configuration file.

Unregister-PSSessionConfiguration

Deletes registered session configurations from the computer.

Update-Help

Downloads and installs the newest help files on your computer.

Wait-Job

Waits until one or all of the PowerShell jobs running in the session are in a terminating state.

Where-Object

Selects objects from a collection based on their property values.