Powershell 命令集 cmdlets

cmdlets是Powershell的内部命令,cmdlet的类型名为System.Management.Automation.CmdletInfo,包含下列属性和方法:

NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
CommandTypePropertySystem.Management.Automation.CommandTypes CommandType {get;}
DefaultParameterSetPropertySystem.String DefaultParameterSet {get;}
DefinitionPropertySystem.String Definition {get;}
HelpFilePropertySystem.String HelpFile {get;}
ImplementingTypePropertySystem.Type ImplementingType {get;}
ModulePropertySystem.Management.Automation.PSModuleInfo Module {get;}
ModuleNamePropertySystem.String ModuleName {get;}
NamePropertySystem.String Name {get;}
NounPropertySystem.String Noun {get;}
OutputTypePropertySystem.Collections.ObjectModel.ReadOnlyCollection`1[[System.Management.Automation.PSTypeName, System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] OutputType {get;}
ParametersPropertySystem.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Management.Automation.ParameterMetadata, System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] Parameters {get;}
ParameterSetsPropertySystem.Collections.ObjectModel.ReadOnlyCollection`1[[System.Management.Automation.CommandParameterSetInfo, System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]] ParameterSets {get;}
PSSnapInPropertySystem.Management.Automation.PSSnapInInfo PSSnapIn {get;}
VerbPropertySystem.String Verb {get;}
VisibilityPropertySystem.Management.Automation.SessionStateEntryVisibility Visibility {get;set;}
DLLScriptPropertySystem.Object DLL {get=$this.ImplementingType.Assembly.Location;}
HelpUriScriptPropertySystem.Object HelpUri {get=try
{
# ok to cast CommandTypes enum to HelpCategory because string/indentifier for
# cmdlet,function,filter,alias,externalscript is identical.
# it is ok to fail for other enum values (i.e. for Application)
$helpObject = get-help -Name ($this.Name) -Category ([string]($this.CommandType)) -ErrorAction SilentlyContinue# return first non-null uri (and try not to hit any strict mode things)
if ($helpObject -eq $null) { return $null }
if ($helpObject.psobject.properties[‘relatedLinks’] -eq $null) { return $null }
if ($helpObject.relatedLinks.psobject.properties[‘navigationLink’] -eq $null) { return $null }
$helpUri = [string]$( $helpObject.relatedLinks.navigationLink | %{ if ($_.psobject.properties[‘uri’] -ne $null) { $_.uri } } | ?{ $_ } | select -first 1 )
return $helpUri
}
catch {};}

下面是全部的Cmdlets命令

每个命令有一个动词和名词组成,命令的作用一目了然。

NameModuleNameHelp
Add-ComputerMicrosoft.PowerShell.Managementhelp
Add-ContentMicrosoft.PowerShell.Managementhelp
Add-HistoryMicrosoft.PowerShell.Corehelp
Add-MemberMicrosoft.PowerShell.Utilityhelp
Add-PSSnapinMicrosoft.PowerShell.Corehelp
Add-TypeMicrosoft.PowerShell.Utilityhelp
Checkpoint-ComputerMicrosoft.PowerShell.Managementhelp
Clear-ContentMicrosoft.PowerShell.Managementhelp
Clear-EventLogMicrosoft.PowerShell.Managementhelp
Clear-HistoryMicrosoft.PowerShell.Corehelp
Clear-ItemMicrosoft.PowerShell.Managementhelp
Clear-ItemPropertyMicrosoft.PowerShell.Managementhelp
Clear-VariableMicrosoft.PowerShell.Utilityhelp
Compare-ObjectMicrosoft.PowerShell.Utilityhelp
Complete-TransactionMicrosoft.PowerShell.Managementhelp
Connect-WSManMicrosoft.WSMan.Managementhelp
ConvertFrom-CsvMicrosoft.PowerShell.Utilityhelp
ConvertFrom-SecureStringMicrosoft.PowerShell.Securityhelp
ConvertFrom-StringDataMicrosoft.PowerShell.Utilityhelp
Convert-PathMicrosoft.PowerShell.Managementhelp
ConvertTo-CsvMicrosoft.PowerShell.Utilityhelp
ConvertTo-HtmlMicrosoft.PowerShell.Utilityhelp
ConvertTo-SecureStringMicrosoft.PowerShell.Securityhelp
ConvertTo-XmlMicrosoft.PowerShell.Utilityhelp
Copy-ItemMicrosoft.PowerShell.Managementhelp
Copy-ItemPropertyMicrosoft.PowerShell.Managementhelp
Debug-ProcessMicrosoft.PowerShell.Managementhelp
Disable-ComputerRestoreMicrosoft.PowerShell.Managementhelp
Disable-PSBreakpointMicrosoft.PowerShell.Utilityhelp
Disable-PSSessionConfigurationMicrosoft.PowerShell.Corehelp
Disable-WSManCredSSPMicrosoft.WSMan.Managementhelp
Disconnect-WSManMicrosoft.WSMan.Managementhelp
Enable-ComputerRestoreMicrosoft.PowerShell.Managementhelp
Enable-PSBreakpointMicrosoft.PowerShell.Utilityhelp
Enable-PSRemotingMicrosoft.PowerShell.Corehelp
Enable-PSSessionConfigurationMicrosoft.PowerShell.Corehelp
Enable-WSManCredSSPMicrosoft.WSMan.Managementhelp
Enter-PSSessionMicrosoft.PowerShell.Corehelp
Exit-PSSessionMicrosoft.PowerShell.Corehelp
Export-AliasMicrosoft.PowerShell.Utilityhelp
Export-ClixmlMicrosoft.PowerShell.Utilityhelp
Export-ConsoleMicrosoft.PowerShell.Corehelp
Export-CounterMicrosoft.PowerShell.Diagnosticshelp
Export-CsvMicrosoft.PowerShell.Utilityhelp
Export-FormatDataMicrosoft.PowerShell.Utilityhelp
Export-ModuleMemberMicrosoft.PowerShell.Corehelp
Export-PSSessionMicrosoft.PowerShell.Utilityhelp
ForEach-ObjectMicrosoft.PowerShell.Corehelp
Format-CustomMicrosoft.PowerShell.Utilityhelp
Format-ListMicrosoft.PowerShell.Utilityhelp
Format-TableMicrosoft.PowerShell.Utilityhelp
Format-WideMicrosoft.PowerShell.Utilityhelp
Get-AclMicrosoft.PowerShell.Securityhelp
Get-AliasMicrosoft.PowerShell.Utilityhelp
Get-AuthenticodeSignatureMicrosoft.PowerShell.Securityhelp
Get-ChildItemMicrosoft.PowerShell.Managementhelp
Get-CommandMicrosoft.PowerShell.Corehelp
Get-ComputerRestorePointMicrosoft.PowerShell.Managementhelp
Get-ContentMicrosoft.PowerShell.Managementhelp
Get-CounterMicrosoft.PowerShell.Diagnosticshelp
Get-CredentialMicrosoft.PowerShell.Securityhelp
Get-CultureMicrosoft.PowerShell.Utilityhelp
Get-DateMicrosoft.PowerShell.Utilityhelp
Get-EventMicrosoft.PowerShell.Utilityhelp
Get-EventLogMicrosoft.PowerShell.Managementhelp
Get-EventSubscriberMicrosoft.PowerShell.Utilityhelp
Get-ExecutionPolicyMicrosoft.PowerShell.Securityhelp
Get-FormatDataMicrosoft.PowerShell.Utilityhelp
Get-HelpMicrosoft.PowerShell.Corehelp
Get-HistoryMicrosoft.PowerShell.Corehelp
Get-HostMicrosoft.PowerShell.Utilityhelp
Get-HotFixMicrosoft.PowerShell.Managementhelp
Get-ItemMicrosoft.PowerShell.Managementhelp
Get-ItemPropertyMicrosoft.PowerShell.Managementhelp
Get-JobMicrosoft.PowerShell.Corehelp
Get-LocationMicrosoft.PowerShell.Managementhelp
Get-MemberMicrosoft.PowerShell.Utilityhelp
Get-ModuleMicrosoft.PowerShell.Corehelp
Get-PfxCertificateMicrosoft.PowerShell.Securityhelp
Get-ProcessMicrosoft.PowerShell.Managementhelp
Get-PSBreakpointMicrosoft.PowerShell.Utilityhelp
Get-PSCallStackMicrosoft.PowerShell.Utilityhelp
Get-PSDriveMicrosoft.PowerShell.Managementhelp
Get-PSProviderMicrosoft.PowerShell.Managementhelp
Get-PSSessionMicrosoft.PowerShell.Corehelp
Get-PSSessionConfigurationMicrosoft.PowerShell.Corehelp
Get-PSSnapinMicrosoft.PowerShell.Corehelp
Get-RandomMicrosoft.PowerShell.Utilityhelp
Get-ServiceMicrosoft.PowerShell.Managementhelp
Get-TraceSourceMicrosoft.PowerShell.Utilityhelp
Get-TransactionMicrosoft.PowerShell.Managementhelp
Get-UICultureMicrosoft.PowerShell.Utilityhelp
Get-UniqueMicrosoft.PowerShell.Utilityhelp
Get-VariableMicrosoft.PowerShell.Utilityhelp
Get-WinEventMicrosoft.PowerShell.Diagnosticshelp
Get-WmiObjectMicrosoft.PowerShell.Managementhelp
Get-WSManCredSSPMicrosoft.WSMan.Managementhelp
Get-WSManInstanceMicrosoft.WSMan.Managementhelp
Group-ObjectMicrosoft.PowerShell.Utilityhelp
Import-AliasMicrosoft.PowerShell.Utilityhelp
Import-ClixmlMicrosoft.PowerShell.Utilityhelp
Import-CounterMicrosoft.PowerShell.Diagnosticshelp
Import-CsvMicrosoft.PowerShell.Utilityhelp
Import-LocalizedDataMicrosoft.PowerShell.Utilityhelp
Import-ModuleMicrosoft.PowerShell.Corehelp
Import-PSSessionMicrosoft.PowerShell.Utilityhelp
Invoke-CommandMicrosoft.PowerShell.Corehelp
Invoke-ExpressionMicrosoft.PowerShell.Utilityhelp
Invoke-HistoryMicrosoft.PowerShell.Corehelp
Invoke-ItemMicrosoft.PowerShell.Managementhelp
Invoke-WmiMethodMicrosoft.PowerShell.Managementhelp
Invoke-WSManActionMicrosoft.WSMan.Managementhelp
Join-PathMicrosoft.PowerShell.Managementhelp
Limit-EventLogMicrosoft.PowerShell.Managementhelp
Measure-CommandMicrosoft.PowerShell.Utilityhelp
Measure-ObjectMicrosoft.PowerShell.Utilityhelp
Move-ItemMicrosoft.PowerShell.Managementhelp
Move-ItemPropertyMicrosoft.PowerShell.Managementhelp
New-AliasMicrosoft.PowerShell.Utilityhelp
New-EventMicrosoft.PowerShell.Utilityhelp
New-EventLogMicrosoft.PowerShell.Managementhelp
New-ItemMicrosoft.PowerShell.Managementhelp
New-ItemPropertyMicrosoft.PowerShell.Managementhelp
New-ModuleMicrosoft.PowerShell.Corehelp
New-ModuleManifestMicrosoft.PowerShell.Corehelp
New-ObjectMicrosoft.PowerShell.Utilityhelp
New-PSDriveMicrosoft.PowerShell.Managementhelp
New-PSSessionMicrosoft.PowerShell.Corehelp
New-PSSessionOptionMicrosoft.PowerShell.Corehelp
New-ServiceMicrosoft.PowerShell.Managementhelp
New-TimeSpanMicrosoft.PowerShell.Utilityhelp
New-VariableMicrosoft.PowerShell.Utilityhelp
New-WebServiceProxyMicrosoft.PowerShell.Managementhelp
New-WSManInstanceMicrosoft.WSMan.Managementhelp
New-WSManSessionOptionMicrosoft.WSMan.Managementhelp
Out-DefaultMicrosoft.PowerShell.Utilityhelp
Out-FileMicrosoft.PowerShell.Utilityhelp
Out-GridViewMicrosoft.PowerShell.Utilityhelp
Out-HostMicrosoft.PowerShell.Utilityhelp
Out-NullMicrosoft.PowerShell.Utilityhelp
Out-PrinterMicrosoft.PowerShell.Utilityhelp
Out-StringMicrosoft.PowerShell.Utilityhelp
Pop-LocationMicrosoft.PowerShell.Managementhelp
Push-LocationMicrosoft.PowerShell.Managementhelp
Read-HostMicrosoft.PowerShell.Utilityhelp
Receive-JobMicrosoft.PowerShell.Corehelp
Register-EngineEventMicrosoft.PowerShell.Utilityhelp
Register-ObjectEventMicrosoft.PowerShell.Utilityhelp
Register-PSSessionConfigurationMicrosoft.PowerShell.Corehelp
Register-WmiEventMicrosoft.PowerShell.Managementhelp
Remove-ComputerMicrosoft.PowerShell.Managementhelp
Remove-EventMicrosoft.PowerShell.Utilityhelp
Remove-EventLogMicrosoft.PowerShell.Managementhelp
Remove-ItemMicrosoft.PowerShell.Managementhelp
Remove-ItemPropertyMicrosoft.PowerShell.Managementhelp
Remove-JobMicrosoft.PowerShell.Corehelp
Remove-ModuleMicrosoft.PowerShell.Corehelp
Remove-PSBreakpointMicrosoft.PowerShell.Utilityhelp
Remove-PSDriveMicrosoft.PowerShell.Managementhelp
Remove-PSSessionMicrosoft.PowerShell.Corehelp
Remove-PSSnapinMicrosoft.PowerShell.Corehelp
Remove-VariableMicrosoft.PowerShell.Utilityhelp
Remove-WmiObjectMicrosoft.PowerShell.Managementhelp
Remove-WSManInstanceMicrosoft.WSMan.Managementhelp
Rename-ItemMicrosoft.PowerShell.Managementhelp
Rename-ItemPropertyMicrosoft.PowerShell.Managementhelp
Reset-ComputerMachinePasswordMicrosoft.PowerShell.Managementhelp
Resolve-PathMicrosoft.PowerShell.Managementhelp
Restart-ComputerMicrosoft.PowerShell.Managementhelp
Restart-ServiceMicrosoft.PowerShell.Managementhelp
Restore-ComputerMicrosoft.PowerShell.Managementhelp
Resume-ServiceMicrosoft.PowerShell.Managementhelp
Select-ObjectMicrosoft.PowerShell.Utilityhelp
Select-StringMicrosoft.PowerShell.Utilityhelp
Select-XmlMicrosoft.PowerShell.Utilityhelp
Send-MailMessageMicrosoft.PowerShell.Utilityhelp
Set-AclMicrosoft.PowerShell.Securityhelp
Set-AliasMicrosoft.PowerShell.Utilityhelp
Set-AuthenticodeSignatureMicrosoft.PowerShell.Securityhelp
Set-ContentMicrosoft.PowerShell.Managementhelp
Set-DateMicrosoft.PowerShell.Utilityhelp
Set-ExecutionPolicyMicrosoft.PowerShell.Securityhelp
Set-ItemMicrosoft.PowerShell.Managementhelp
Set-ItemPropertyMicrosoft.PowerShell.Managementhelp
Set-LocationMicrosoft.PowerShell.Managementhelp
Set-PSBreakpointMicrosoft.PowerShell.Utilityhelp
Set-PSDebugMicrosoft.PowerShell.Corehelp
Set-PSSessionConfigurationMicrosoft.PowerShell.Corehelp
Set-ServiceMicrosoft.PowerShell.Managementhelp
Set-StrictModeMicrosoft.PowerShell.Corehelp
Set-TraceSourceMicrosoft.PowerShell.Utilityhelp
Set-VariableMicrosoft.PowerShell.Utilityhelp
Set-WmiInstanceMicrosoft.PowerShell.Managementhelp
Set-WSManInstanceMicrosoft.WSMan.Managementhelp
Set-WSManQuickConfigMicrosoft.WSMan.Managementhelp
Show-EventLogMicrosoft.PowerShell.Managementhelp
Sort-ObjectMicrosoft.PowerShell.Utilityhelp
Split-PathMicrosoft.PowerShell.Managementhelp
Start-JobMicrosoft.PowerShell.Corehelp
Start-ProcessMicrosoft.PowerShell.Managementhelp
Start-ServiceMicrosoft.PowerShell.Managementhelp
Start-SleepMicrosoft.PowerShell.Utilityhelp
Start-TransactionMicrosoft.PowerShell.Managementhelp
Start-TranscriptMicrosoft.PowerShell.Hosthelp
Stop-ComputerMicrosoft.PowerShell.Managementhelp
Stop-JobMicrosoft.PowerShell.Corehelp
Stop-ProcessMicrosoft.PowerShell.Managementhelp
Stop-ServiceMicrosoft.PowerShell.Managementhelp
Stop-TranscriptMicrosoft.PowerShell.Hosthelp
Suspend-ServiceMicrosoft.PowerShell.Managementhelp
Tee-ObjectMicrosoft.PowerShell.Utilityhelp
Test-ComputerSecureChannelMicrosoft.PowerShell.Managementhelp
Test-ConnectionMicrosoft.PowerShell.Managementhelp
Test-ModuleManifestMicrosoft.PowerShell.Corehelp
Test-PathMicrosoft.PowerShell.Managementhelp
Test-WSManMicrosoft.WSMan.Managementhelp
Trace-CommandMicrosoft.PowerShell.Utilityhelp
Undo-TransactionMicrosoft.PowerShell.Managementhelp
Unregister-EventMicrosoft.PowerShell.Utilityhelp
Unregister-PSSessionConfigurationMicrosoft.PowerShell.Corehelp
Update-FormatDataMicrosoft.PowerShell.Utilityhelp
Update-ListMicrosoft.PowerShell.Utilityhelp
Update-TypeDataMicrosoft.PowerShell.Utilityhelp
Use-TransactionMicrosoft.PowerShell.Managementhelp
Wait-EventMicrosoft.PowerShell.Utilityhelp
Wait-JobMicrosoft.PowerShell.Corehelp
Wait-ProcessMicrosoft.PowerShell.Managementhelp
Where-ObjectMicrosoft.PowerShell.Corehelp
Write-DebugMicrosoft.PowerShell.Utilityhelp
Write-ErrorMicrosoft.PowerShell.Utilityhelp
Write-EventLogMicrosoft.PowerShell.Managementhelp
Write-HostMicrosoft.PowerShell.Utilityhelp
Write-OutputMicrosoft.PowerShell.Utilityhelp
Write-ProgressMicrosoft.PowerShell.Utilityhelp
Write-VerboseMicrosoft.PowerShell.Utilityhelp
Write-WarningMicrosoft.PowerShell.Utility help

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值