Appendix A: Cmdlets Installed with Windows PowerShell


The following cmdlets are installed with Windows PowerShell. This list gives you an idea of the sort of things you can do “out of the box” with Windows PowerShell. Please note that the description field (returned from Windows PowerShell) is often truncated in this list. To obtain more specific information on Windows PowerShell cmdlets, you can use the Get-Help cmdlet, as shown here:

 Get-Help Set-Location

Table A-1: Default PowerShell Cmdlets
Open table as spreadsheet

Name

Definition

Add-Content

Add-Content [-Path] <String[...

Add-History

Add-History [[-InputObject] ...

Add-Member

Add-Member [-MemberType] <PS...

Add-PSSnapin

Add-PSSnapin [-Name] <String...

Clear-Content

Clear-Content [-Path] <Strin...

Clear-Item

Clear-Item [-Path] <String[]...

Clear-ItemProperty

Clear-ItemProperty [-Path] <...

Clear-Variable

Clear-Variable [-Name] <Stri...

Compare-Object

Compare-Object [-ReferenceOb...

ConvertFrom-SecureString

ConvertFrom-SecureString [-S...

Convert-Path

Convert-Path [-Path] <String...

ConvertTo-Html

ConvertTo-Html [[-Property] ...

ConvertTo-SecureString

ConvertTo-SecureString [-Str...

Copy-Item

Copy-Item [-Path] <String[]>...

Copy-ItemProperty

Copy-ItemProperty [-Path] <S...

Export-Alias

Export-Alias [-Path] <String...

Export-Clixml

Export-Clixml [-Path] <Strin...

Export-Console

Export-Console [[-Path] <Str...

Export-Csv

Export-Csv [-Path] <String> ...

ForEach-Object

ForEach-Object [-Process] <S...

Format-Custom

Format-Custom [[-Property] <...

Format-List

Format-List [[-Property] <Ob...

Format-Table

Format-Table [[-Property] <O...

Format-Wide

Format-Wide [[-Property] <Ob...

Get-Acl

Get-Acl [[-Path] <String[]>]...

Get-Alias

Get-Alias [[-Name] <String[]...

Get-AuthenticodeSignature

Get-AuthenticodeSignature [-...

Get-ChildItem

Get-ChildItem [[-Path] <Stri...

Get-Command

Get-Command [[-ArgumentList]...

Get-Content

Get-Content [-Path] <String[...

Get-Credential

Get-Credential [-Credential]...

Get-Culture

Get-Culture [-Verbose] [-Deb...

Get-Date

Get-Date [[-Date] <DateTime>...

Get-EventLog

Get-EventLog [-LogName] <Str...

Get-ExecutionPolicy

Get-ExecutionPolicy [-Verbos...

Get-Help

Get-Help [[-Name] <String>] ...

Get-History

Get-History [[-Id] <Int64[]>...

Get-Host

Get-Host [-Verbose] [-Debug]...

Get-Item

Get-Item [-Path] <String[]> ...

Get-ItemProperty

Get-ItemProperty [-Path] <St...

Get-Location

Get-Location [-PSProvider <S...

Get-Member

Get-Member [[-Name] <String[...

Get-PfxCertificate

Get-PfxCertificate [-FilePat...

Get-Process

Get-Process [[-Name] <String...

Get-PSDrive

Get-PSDrive [[-Name] <String...

Get-PSProvider

Get-PSProvider [[-PSProvider...

Get-PSSnapin

Get-PSSnapin [[-Name] <Strin...

Get-Service

Get-Service [[-Name] <String...

Get-TraceSource

Get-TraceSource [[-Name] <St...

Get-UICulture

Get-UICulture [-Verbose] [-D...

Get-Unique

Get-Unique [-InputObject <PS...

Get-Variable

Get-Variable [[-Name] <Strin...

Get-WmiObject

Get-WmiObject [-Class] <Stri...

Group-Object

Group-Object [[-Property] <O...

Import-Alias

Import-Alias [-Path] <String...

Import-Clixml

Import-Clixml [-Path] <Strin...

Import-Csv

Import-Csv [-Path] <String[]...

Invoke-Expression

Invoke-Expression [-Command]...

Invoke-History

Invoke-History [[-Id] <Strin...

Invoke-Item

Invoke-Item [-Path] <String[...

Join-Path

Join-Path [-Path] <String[]>...

Measure-Command

Measure-Command [-Expression...

Measure-Object

Measure-Object [[-Property] ...

Move-Item

Move-Item [-Path] <String[]>...

Move-ItemProperty

Move-ItemProperty [-Path] <S...

New-Alias

New-Alias [-Name] <String> [...

New-Item

New-Item [-Path] <String[]> ...

New-ItemProperty

New-ItemProperty [-Path] <St...

New-Object

New-Object [-TypeName] <Stri...

New-PSDrive

New-PSDrive [-Name] <String>...

New-Service

New-Service [-Name] <String>...

New-TimeSpan

New-TimeSpan [[-Start] <Date...

New-Variable

New-Variable [-Name] <String...

Out-Default

Out-Default [-InputObject <P...

Out-File

Out-File [-FilePath] <String...

Out-Host

Out-Host [-Paging] [-InputOb...

Out-Null

Out-Null [-InputObject <PSOb...

Out-Printer

Out-Printer [[-Name] <String...

Out-String

Out-String [-Stream] [-Width...

Pop-Location

Pop-Location [-PassThru] [-S...

Push-Location

Push-Location [[-Path] <Stri...

Read-Host

Read-Host [[-Prompt] <Object...

Remove-Item

Remove-Item [-Path] <String[...

Remove-ItemProperty

Remove-ItemProperty [-Path] ...

Remove-PSDrive

Remove-PSDrive [-Name] <Stri...

Remove-PSSnapin

Remove-PSSnapin [-Name] <Str...

Remove-Variable

Remove-Variable [-Name] <Str...

Rename-Item

Rename-Item [-Path] <String>...

Rename-ItemProperty

Rename-ItemProperty [-Path] ...

Resolve-Path

Resolve-Path [-Path] <String...

Restart-Service

Restart-Service [-Name] <Str...

Resume-Service

Resume-Service [-Name] <Stri...

Select-Object

Select-Object [[-Property] <...

Select-String

Select-String [-Pattern] <St...

Set-Acl

Set-Acl [-Path] <String[]> [...

Set-Alias

Set-Alias [-Name] <String> [...

Set-AuthenticodeSignature

Set-AuthenticodeSignature [-...

Set-Content

Set-Content [-Path] <String[...

Set-Date

Set-Date [-Date] <DateTime> ...

Set-ExecutionPolicy

Set-ExecutionPolicy [-Execut...

Set-Item

Set-Item [-Path] <String[]> ...

Set-ItemProperty

Set-ItemProperty [-Path] <St...

Set-Location

Set-Location [[-Path] <Strin...

Set-PSDebug

Set-PSDebug [-Trace <Int32>]...

Set-Service

Set-Service [-Name] <String>...

Set-TraceSource

Set-TraceSource [-Name] <Str...

Set-Variable

Set-Variable [-Name] <String...

Sort-Object

Sort-Object [[-Property] <Ob...

Split-Path

Split-Path [-Path] <String[]...

Start-Service

Start-Service [-Name] <Strin...

Start-Sleep

Start-Sleep [-Seconds] <Int3...

Start-Transcript

Start-Transcript [[-Path] <S...

Stop-Process

Stop-Process [-Id] <Int32[]>...

Stop-Service

Stop-Service [-Name] <String...

Stop-Transcript

Stop-Transcript [-Verbose] [...

Suspend-Service

Suspend-Service [-Name] <Str...

Tee-Object

Tee-Object [-FilePath] <Stri...

Test-Path

Test-Path [-Path] <String[]>...

Trace-Command

Trace-Command [-Name] <Strin...

Update-FormatData

Update-FormatData [[-AppendP...

Update-TypeData

Update-TypeData [[-AppendPat...

Where-Object

Where-Object [-FilterScript]...

Write-Debug

Write-Debug [-Message] <Stri...

Write-Error

Write-Error [-Message] <Stri...

Write-Host

Write-Host [[-Object] <Objec...

Write-Output

Write-Output [-InputObject] ...

Write-Progress

Write-Progress [-Activity] <...

Write-Verbose

Write-Verbose [-Message] <St...

Write-Warning

Write-Warning [-Message] <St...




Microsoft Press - Microsoft Windows PowerShell Step by Step
MicrosoftВ® Windows PowerShell(TM) Step By Step (Step By Step (Microsoft))
ISBN: 0735623953
EAN: 2147483647
Year: 2007
Pages: 128
Authors: Ed Wilson

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net