UJP - 技術情報1

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

PowerShell CommandLet 現在入っているコマンドレットを表示

PowerShell  現在入っているコマンドレットを表示


更新履歴

  • 2021.03.29

はじめに

  • このドキュメントでは,Windows 10で現在導入されているPowerShell 5.0環境での,コマンドレット一覧を取得してみる.
コマンド
説明
(Get-WmiObject Win32_OperatingSystem).Caption OSを確認する.
($PSVersionTable).PSVersion.toString() PowerShellのバージョンを確認する.
Get-ChildItem env: 環境変数を確認
Get-Command -CommandType Cmdlet | Select-Object Name > Commnandlet.txt コマンドレット一覧
Get-Command -CommandType Alias | Select-Object Name, Definition >CommandLetAlias.txt コマンドの別名一覧

環境を確認する

  • OSを確認する.


PS C:\Users\ujpadmin> (Get-WmiObject Win32_OperatingSystem).Caption🆑
Microsoft Windows 10 Pro🈁
PS C:\Users\ujpadmin>

  • PowerShellのバージョンを確認する.


PS C:\Users\ujpadmin> ($PSVersionTable).PSVersion.toString()🆑
5.1.19041.610🈁
PS C:\Users\ujpadmin>

  • 環境変数を表示する.


PS C:\Users\ujpadmin> Get-ChildItem env:🆑

Name                           Value
----                           -----
ALLUSERSPROFILE                C:\ProgramData
APPDATA                        C:\Users\ujpadmin\AppData\Roaming
CLIENTNAME                     macmini2014
CommonProgramFiles             C:\Program Files\Common Files
CommonProgramFiles(x86)        C:\Program Files (x86)\Common Files
CommonProgramW6432             C:\Program Files\Common Files
COMPUTERNAME                   CF-LX4
ComSpec                        C:\WINDOWS\system32\cmd.exe
DriverData                     C:\Windows\System32\Drivers\DriverData
FPS_BROWSER_APP_PROFILE_STRING Internet Explorer
FPS_BROWSER_USER_PROFILE_ST... Default
HOMEDRIVE                      C:
HOMEPATH                       \Users\ujpadmin
LOCALAPPDATA                   C:\Users\ujpadmin\AppData\Local
LOGONSERVER                    \\CF-LX4
NUMBER_OF_PROCESSORS           4
OneDrive                       C:\Users\ujpadmin\OneDrive
OneDriveConsumer               C:\Users\ujpadmin\OneDrive
OS                             Windows_NT
Path                           C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WIN...
PATHEXT                        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
PROCESSOR_ARCHITECTURE         AMD64
PROCESSOR_IDENTIFIER           Intel64 Family 6 Model 61 Stepping 4, GenuineIntel
PROCESSOR_LEVEL                6
PROCESSOR_REVISION             3d04
ProgramData                    C:\ProgramData
ProgramFiles                   C:\Program Files
ProgramFiles(x86)              C:\Program Files (x86)
ProgramW6432                   C:\Program Files
PSModulePath                   C:\Users\ujpadmin\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Module...
PUBLIC                         C:\Users\Public
SESSIONNAME                    RDP-Tcp#0
SystemDrive                    C:
SystemRoot                     C:\WINDOWS
TEMP                           C:\Users\ujpadmin\AppData\Local\Temp
TMP                            C:\Users\ujpadmin\AppData\Local\Temp
USERDOMAIN                     CF-LX4
USERDOMAIN_ROAMINGPROFILE      CF-LX4
USERNAME                       ujpadmin
USERPROFILE                    C:\Users\ujpadmin
VBOX_MSI_INSTALL_PATH          C:\Program Files\Oracle\VirtualBox\
windir                         C:\WINDOWS

PS C:\Users\ujpadmin>

  •     シェルのターミナルの右端になると改行されずに切れていることに注意.


PS C:\Users\ujpadmin> Get-ChildItem env:🆑

Name                           Value
----                           -----
ALLUSERSPROFILE                C:\ProgramData
APPDATA                        C:\Users\ujpadmin\AppData\Roaming
CLIENTNAME                     macmini2014
CommonProgramFiles             C:\Program Files\Common Files
CommonProgramFiles(x86)        C:\Program Files (x86)\Common Files
CommonProgramW6432             C:\Program Files\Common Files
COMPUTERNAME                   CF-LX4
ComSpec                        C:\WINDOWS\system32\cmd.exe
DriverData                     C:\Windows\System32\Drivers\DriverData
FPS_BROWSER_APP_PROFILE_STRING Internet Explorer
FPS_BROWSER_USER_PROFILE_ST... Default
HOMEDRIVE                      C:
HOMEPATH                       \Users\ujpadmin
LOCALAPPDATA                   C:\Users\ujpadmin\AppData\Local
LOGONSERVER                    \\CF-LX4
NUMBER_OF_PROCESSORS           4
OneDrive                       C:\Users\ujpadmin\OneDrive
OneDriveConsumer               C:\Users\ujpadmin\OneDrive
OS                             Windows_NT
Path                           C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WIN...
PATHEXT                        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
PROCESSOR_ARCHITECTURE         AMD64
PROCESSOR_IDENTIFIER           Intel64 Family 6 Model 61 Stepping 4, GenuineIntel
PROCESSOR_LEVEL                6
PROCESSOR_REVISION             3d04
ProgramData                    C:\ProgramData
ProgramFiles                   C:\Program Files
ProgramFiles(x86)              C:\Program Files (x86)
ProgramW6432                   C:\Program Files
PSModulePath                   C:\Users\ujpadmin\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Module...
PUBLIC                         C:\Users\Public
SESSIONNAME                    RDP-Tcp#0
SystemDrive                    C:
SystemRoot                     C:\WINDOWS
TEMP                           C:\Users\ujpadmin\AppData\Local\Temp
TMP                            C:\Users\ujpadmin\AppData\Local\Temp
USERDOMAIN                     CF-LX4
USERDOMAIN_ROAMINGPROFILE      CF-LX4
USERNAME                       ujpadmin
USERPROFILE                    C:\Users\ujpadmin
VBOX_MSI_INSTALL_PATH          C:\Program Files\Oracle\VirtualBox\
windir                         C:\WINDOWS

PS C:\Users\ujpadmin>

  • シェルのターミナルの右端になると改行されずに切れていることに注意.

コマンドレット一覧を表示する

  • 現在入っているコマンドレット一覧.


PS C:\Users\ujpadmin> Get-Command -CommandType Cmdlet | Select-Object Name > Commnandlet.txt🆑
PS C:\Users\ujpadmin>

  • 入っていたコマンドレットはコレ.

Name                                      
----                                      
Add-AppvClientConnectionGroup             
Add-AppvClientPackage                     
Add-AppvPublishingServer                  
Add-AppxPackage                           
Add-AppxProvisionedPackage                
Add-AppxVolume                            
Add-BitsFile                              
Add-CertificateEnrollmentPolicyServer     
Add-Computer                              
Add-Content                               
Add-History                               
Add-IntelNetTeamMember                    
Add-IntelNetVLAN                          
Add-JobTrigger                            
Add-KdsRootKey                            
Add-LocalGroupMember                      
Add-Member                                
Add-PSSnapin                              
Add-SignerRule                            
Add-Type                                  
Add-WindowsCapability                     
Add-WindowsDriver                         
Add-WindowsImage                          
Add-WindowsPackage                        
Checkpoint-Computer                       
Clear-Content                             
Clear-EventLog                            
Clear-History                             
Clear-Item                                
Clear-ItemProperty                        
Clear-KdsCache                            
Clear-Recyclebin                          
Clear-Tpm                                 
Clear-UevAppxPackage                      
Clear-UevConfiguration                    
Clear-Variable                            
Clear-WindowsCorruptMountPoint            
Compare-Object                            
Complete-BitsTransfer                     
Complete-DtcDiagnosticTransaction         
Complete-Transaction                      
Confirm-SecureBootUEFI                    
Connect-PSSession                         
Connect-WSMan                             
ConvertFrom-CIPolicy                      
ConvertFrom-Csv                           
ConvertFrom-Json                          
ConvertFrom-SecureString                  
ConvertFrom-String                        
ConvertFrom-StringData                    
Convert-Path                              
Convert-String                            
ConvertTo-Csv                             
ConvertTo-Html                            
ConvertTo-Json                            
ConvertTo-ProcessMitigationPolicy         
ConvertTo-SecureString                    
ConvertTo-TpmOwnerAuth                    
ConvertTo-Xml                             
Copy-Item                                 
Copy-ItemProperty                         
Debug-Job                                 
Debug-Process                             
Debug-Runspace                            
Delete-DeliveryOptimizationCache          
Disable-AppBackgroundTaskDiagnosticLog    
Disable-Appv                              
Disable-AppvClientConnectionGroup         
Disable-ComputerRestore                   
Disable-JobTrigger                        
Disable-LocalUser                         
Disable-PSBreakpoint                      
Disable-PSRemoting                        
Disable-PSSessionConfiguration            
Disable-RunspaceDebug                     
Disable-ScheduledJob                      
Disable-TlsCipherSuite                    
Disable-TlsEccCurve                       
Disable-TlsSessionTicketKey               
Disable-TpmAutoProvisioning               
Disable-Uev                               
Disable-UevAppxPackage                    
Disable-UevTemplate                       
Disable-WindowsErrorReporting             
Disable-WindowsOptionalFeature            
Disable-WSManCredSSP                      
Disconnect-PSSession                      
Disconnect-WSMan                          
Dismount-AppxVolume                       
Dismount-WindowsImage                     
Edit-CIPolicyRule                         
Enable-AppBackgroundTaskDiagnosticLog     
Enable-Appv                               
Enable-AppvClientConnectionGroup          
Enable-ComputerRestore                    
Enable-JobTrigger                         
Enable-LocalUser                          
Enable-PSBreakpoint                       
Enable-PSRemoting                         
Enable-PSSessionConfiguration             
Enable-RunspaceDebug                      
Enable-ScheduledJob                       
Enable-TlsCipherSuite                     
Enable-TlsEccCurve                        
Enable-TlsSessionTicketKey                
Enable-TpmAutoProvisioning                
Enable-Uev                                
Enable-UevAppxPackage                     
Enable-UevTemplate                        
Enable-WindowsErrorReporting              
Enable-WindowsOptionalFeature             
Enable-WSManCredSSP                       
Enter-PSHostProcess                       
Enter-PSSession                           
Exit-PSHostProcess                        
Exit-PSSession                            
Expand-WindowsCustomDataImage             
Expand-WindowsImage                       
Export-Alias                              
Export-BinaryMiLog                        
Export-Certificate                        
Export-Clixml                             
Export-Console                            
Export-Counter                            
Export-Csv                                
Export-FormatData                         
Export-ModuleMember                       
Export-PfxCertificate                     
Export-ProvisioningPackage                
Export-PSSession                          
Export-StartLayout                        
Export-StartLayoutEdgeAssets              
Export-TlsSessionTicketKey                
Export-Trace                              
Export-UevConfiguration                   
Export-UevPackage                         
Export-WindowsCapabilitySource            
Export-WindowsDriver                      
Export-WindowsImage                       
Find-Package                              
Find-PackageProvider                      
ForEach-Object                            
Format-Custom                             
Format-List                               
Format-SecureBootUEFI                     
Format-Table                              
Format-Wide                               
Get-Acl                                   
Get-Alias                                 
Get-AppLockerFileInformation              
Get-AppLockerPolicy                       
Get-AppvClientApplication                 
Get-AppvClientConfiguration               
Get-AppvClientConnectionGroup             
Get-AppvClientMode                        
Get-AppvClientPackage                     
Get-AppvPublishingServer                  
Get-AppvStatus                            
Get-AppxDefaultVolume                     
Get-AppxPackage                           
Get-AppxPackageManifest                   
Get-AppxProvisionedPackage                
Get-AppxVolume                            
Get-AuthenticodeSignature                 
Get-BitsTransfer                          
Get-Certificate                           
Get-CertificateAutoEnrollmentPolicy       
Get-CertificateEnrollmentPolicyServer     
Get-CertificateNotificationTask           
Get-ChildItem                             
Get-CimAssociatedInstance                 
Get-CimClass                              
Get-CimInstance                           
Get-CimSession                            
Get-CIPolicy                              
Get-CIPolicyIdInfo                        
Get-CIPolicyInfo                          
Get-Clipboard                             
Get-CmsMessage                            
Get-Command                               
Get-ComputerInfo                          
Get-ComputerRestorePoint                  
Get-Content                               
Get-ControlPanelItem                      
Get-Counter                               
Get-Credential                            
Get-Culture                               
Get-DAPolicyChange                        
Get-Date                                  
Get-DeliveryOptimizationLog               
Get-DeliveryOptimizationLogAnalysis       
Get-Event                                 
Get-EventLog                              
Get-EventSubscriber                       
Get-ExecutionPolicy                       
Get-FormatData                            
Get-Help                                  
Get-History                               
Get-Host                                  
Get-HotFix                                
Get-IntelNetAdapter                       
Get-IntelNetAdapterProfileSettings        
Get-IntelNetAdapterSetting                
Get-IntelNetTeam                          
Get-IntelNetTeamSetting                   
Get-IntelNetVLAN                          
Get-IntelNetVLANJumboPacket               
Get-Item                                  
Get-ItemProperty                          
Get-ItemPropertyValue                     
Get-Job                                   
Get-JobTrigger                            
Get-KdsConfiguration                      
Get-KdsRootKey                            
Get-LocalGroup                            
Get-LocalGroupMember                      
Get-LocalUser                             
Get-Location                              
Get-Member                                
Get-Module                                
Get-NonRemovableAppsPolicy                
Get-Package                               
Get-PackageProvider                       
Get-PackageSource                         
Get-PfxCertificate                        
Get-PfxData                               
Get-PmemDisk                              
Get-PmemPhysicalDevice                    
Get-PmemUnusedRegion                      
Get-Process                               
Get-ProcessMitigation                     
Get-ProvisioningPackage                   
Get-PSBreakpoint                          
Get-PSCallStack                           
Get-PSDrive                               
Get-PSHostProcessInfo                     
Get-PSProvider                            
Get-PSReadLineKeyHandler                  
Get-PSReadLineOption                      
Get-PSSession                             
Get-PSSessionCapability                   
Get-PSSessionConfiguration                
Get-PSSnapin                              
Get-Random                                
Get-Runspace                              
Get-RunspaceDebug                         
Get-ScheduledJob                          
Get-ScheduledJobOption                    
Get-SecureBootPolicy                      
Get-SecureBootUEFI                        
Get-Service                               
Get-SystemDriver                          
Get-TimeZone                              
Get-TlsCipherSuite                        
Get-TlsEccCurve                           
Get-Tpm                                   
Get-TpmEndorsementKeyInfo                 
Get-TpmSupportedFeature                   
Get-TraceSource                           
Get-Transaction                           
Get-TroubleshootingPack                   
Get-TrustedProvisioningCertificate        
Get-TypeData                              
Get-UevAppxPackage                        
Get-UevConfiguration                      
Get-UevStatus                             
Get-UevTemplate                           
Get-UevTemplateProgram                    
Get-UICulture                             
Get-Unique                                
Get-Variable                              
Get-WheaMemoryPolicy                      
Get-WIMBootEntry                          
Get-WinAcceptLanguageFromLanguageListOptOut
Get-WinCultureFromLanguageListOptOut      
Get-WinDefaultInputMethodOverride         
Get-WindowsCapability                     
Get-WindowsDeveloperLicense               
Get-WindowsDriver                         
Get-WindowsEdition                        
Get-WindowsErrorReporting                 
Get-WindowsImage                          
Get-WindowsImageContent                   
Get-WindowsOptionalFeature                
Get-WindowsPackage                        
Get-WindowsReservedStorageState           
Get-WindowsSearchSetting                  
Get-WinEvent                              
Get-WinHomeLocation                       
Get-WinLanguageBarOption                  
Get-WinSystemLocale                       
Get-WinUILanguageOverride                 
Get-WinUserLanguageList                   
Get-WmiObject                             
Get-WSManCredSSP                          
Get-WSManInstance                         
Group-Object                              
Import-Alias                              
Import-BinaryMiLog                        
Import-Certificate                        
Import-Clixml                             
Import-Counter                            
Import-Csv                                
Import-LocalizedData                      
Import-Module                             
Import-PackageProvider                    
Import-PfxCertificate                     
Import-PSSession                          
Import-StartLayout                        
Import-TpmOwnerAuth                       
Import-UevConfiguration                   
Initialize-PmemPhysicalDevice             
Initialize-Tpm                            
Install-Package                           
Install-PackageProvider                   
Install-ProvisioningPackage               
Install-TrustedProvisioningCertificate    
Invoke-CimMethod                          
Invoke-Command                            
Invoke-CommandInDesktopPackage            
Invoke-DscResource                        
Invoke-Expression                         
Invoke-History                            
Invoke-Item                               
Invoke-RestMethod                         
Invoke-TroubleshootingPack                
Invoke-WebRequest                         
Invoke-WmiMethod                          
Invoke-WSManAction                        
Join-DtcDiagnosticResourceManager         
Join-Path                                 
Limit-EventLog                            
Measure-Command                           
Measure-Object                            
Merge-CIPolicy                            
Mount-AppvClientConnectionGroup           
Mount-AppvClientPackage                   
Mount-AppxVolume                          
Mount-WindowsImage                        
Move-AppxPackage                          
Move-Item                                 
Move-ItemProperty                         
New-Alias                                 
New-AppLockerPolicy                       
New-CertificateNotificationTask           
New-CimInstance                           
New-CimSession                            
New-CimSessionOption                      
New-CIPolicy                              
New-CIPolicyRule                          
New-DtcDiagnosticTransaction              
New-Event                                 
New-EventLog                              
New-FileCatalog                           
New-IntelNetTeam                          
New-Item                                  
New-ItemProperty                          
New-JobTrigger                            
New-LocalGroup                            
New-LocalUser                             
New-Module                                
New-ModuleManifest                        
New-NetIPsecAuthProposal                  
New-NetIPsecMainModeCryptoProposal        
New-NetIPsecQuickModeCryptoProposal       
New-Object                                
New-PmemDisk                              
New-ProvisioningRepro                     
New-PSDrive                               
New-PSRoleCapabilityFile                  
New-PSSession                             
New-PSSessionConfigurationFile            
New-PSSessionOption                       
New-PSTransportOption                     
New-PSWorkflowExecutionOption             
New-ScheduledJobOption                    
New-SelfSignedCertificate                 
New-Service                               
New-TimeSpan                              
New-TlsSessionTicketKey                   
New-Variable                              
New-WebServiceProxy                       
New-WindowsCustomImage                    
New-WindowsImage                          
New-WinEvent                              
New-WinUserLanguageList                   
New-WSManInstance                         
New-WSManSessionOption                    
Optimize-AppxProvisionedPackages          
Optimize-WindowsImage                     
Out-Default                               
Out-File                                  
Out-GridView                              
Out-Host                                  
Out-Null                                  
Out-Printer                               
Out-String                                
Pop-Location                              
Protect-CmsMessage                        
Publish-AppvClientPackage                 
Publish-DscConfiguration                  
Push-Location                             
Read-Host                                 
Receive-DtcDiagnosticTransaction          
Receive-Job                               
Receive-PSSession                         
Register-ArgumentCompleter                
Register-CimIndicationEvent               
Register-EngineEvent                      
Register-ObjectEvent                      
Register-PackageSource                    
Register-PSSessionConfiguration           
Register-ScheduledJob                     
Register-UevTemplate                      
Register-WmiEvent                         
Remove-AppvClientConnectionGroup          
Remove-AppvClientPackage                  
Remove-AppvPublishingServer               
Remove-AppxPackage                        
Remove-AppxProvisionedPackage             
Remove-AppxVolume                         
Remove-BitsTransfer                       
Remove-CertificateEnrollmentPolicyServer  
Remove-CertificateNotificationTask        
Remove-CimInstance                        
Remove-CimSession                         
Remove-CIPolicyRule                       
Remove-Computer                           
Remove-Event                              
Remove-EventLog                           
Remove-IntelNetTeam                       
Remove-IntelNetTeamMember                 
Remove-IntelNetVLAN                       
Remove-Item                               
Remove-ItemProperty                       
Remove-Job                                
Remove-JobTrigger                         
Remove-LocalGroup                         
Remove-LocalGroupMember                   
Remove-LocalUser                          
Remove-Module                             
Remove-PmemDisk                           
Remove-PSBreakpoint                       
Remove-PSDrive                            
Remove-PSReadLineKeyHandler               
Remove-PSSession                          
Remove-PSSnapin                           
Remove-TypeData                           
Remove-Variable                           
Remove-WindowsCapability                  
Remove-WindowsDriver                      
Remove-WindowsImage                       
Remove-WindowsPackage                     
Remove-WmiObject                          
Remove-WSManInstance                      
Rename-Computer                           
Rename-Item                               
Rename-ItemProperty                       
Rename-LocalGroup                         
Rename-LocalUser                          
Repair-AppvClientConnectionGroup          
Repair-AppvClientPackage                  
Repair-UevTemplateIndex                   
Repair-WindowsImage                       
Reset-ComputerMachinePassword             
Resolve-DnsName                           
Resolve-Path                              
Restart-Computer                          
Restart-Service                           
Restore-Computer                          
Restore-UevBackup                         
Restore-UevUserSetting                    
Resume-BitsTransfer                       
Resume-Job                                
Resume-ProvisioningSession                
Resume-Service                            
Save-Help                                 
Save-Package                              
Save-WindowsImage                         
Select-Object                             
Select-String                             
Select-Xml                                
Send-AppvClientReport                     
Send-DtcDiagnosticTransaction             
Send-MailMessage                          
Set-Acl                                   
Set-Alias                                 
Set-AppBackgroundTaskResourcePolicy       
Set-AppLockerPolicy                       
Set-AppvClientConfiguration               
Set-AppvClientMode                        
Set-AppvClientPackage                     
Set-AppvPublishingServer                  
Set-AppxDefaultVolume                     
Set-AppXProvisionedDataFile               
Set-AuthenticodeSignature                 
Set-BitsTransfer                          
Set-CertificateAutoEnrollmentPolicy       
Set-CimInstance                           
Set-CIPolicyIdInfo                        
Set-CIPolicySetting                       
Set-CIPolicyVersion                       
Set-Clipboard                             
Set-Content                               
Set-Culture                               
Set-Date                                  
Set-DeliveryOptimizationStatus            
Set-DODownloadMode                        
Set-DOPercentageMaxBackgroundBandwidth    
Set-DOPercentageMaxForegroundBandwidth    
Set-DscLocalConfigurationManager          
Set-ExecutionPolicy                       
Set-HVCIOptions                           
Set-IntelNetAdapterSetting                
Set-IntelNetTeam                          
Set-IntelNetTeamSetting                   
Set-IntelNetVLAN                          
Set-IntelNetVLANJumboPacket               
Set-Item                                  
Set-ItemProperty                          
Set-JobTrigger                            
Set-KdsConfiguration                      
Set-LocalGroup                            
Set-LocalUser                             
Set-Location                              
Set-NonRemovableAppsPolicy                
Set-PackageSource                         
Set-ProcessMitigation                     
Set-PSBreakpoint                          
Set-PSDebug                               
Set-PSReadLineKeyHandler                  
Set-PSReadLineOption                      
Set-PSSessionConfiguration                
Set-RuleOption                            
Set-ScheduledJob                          
Set-ScheduledJobOption                    
Set-SecureBootUEFI                        
Set-Service                               
Set-StrictMode                            
Set-TimeZone                              
Set-TpmOwnerAuth                          
Set-TraceSource                           
Set-UevConfiguration                      
Set-UevTemplateProfile                    
Set-Variable                              
Set-WheaMemoryPolicy                      
Set-WinAcceptLanguageFromLanguageListOptOut
Set-WinCultureFromLanguageListOptOut      
Set-WinDefaultInputMethodOverride         
Set-WindowsEdition                        
Set-WindowsProductKey                     
Set-WindowsReservedStorageState           
Set-WindowsSearchSetting                  
Set-WinHomeLocation                       
Set-WinLanguageBarOption                  
Set-WinSystemLocale                       
Set-WinUILanguageOverride                 
Set-WinUserLanguageList                   
Set-WmiInstance                           
Set-WSManInstance                         
Set-WSManQuickConfig                      
Show-Command                              
Show-ControlPanelItem                     
Show-EventLog                             
Show-WindowsDeveloperLicenseRegistration  
Sort-Object                               
Split-Path                                
Split-WindowsImage                        
Start-BitsTransfer                        
Start-DscConfiguration                    
Start-DtcDiagnosticResourceManager        
Start-Job                                 
Start-OSUninstall                         
Start-Process                             
Start-Service                             
Start-Sleep                               
Start-Transaction                         
Start-Transcript                          
Stop-AppvClientConnectionGroup            
Stop-AppvClientPackage                    
Stop-Computer                             
Stop-DtcDiagnosticResourceManager         
Stop-Job                                  
Stop-Process                              
Stop-Service                              
Stop-Transcript                           
Suspend-BitsTransfer                      
Suspend-Job                               
Suspend-Service                           
Switch-Certificate                        
Sync-AppvPublishingServer                 
Tee-Object                                
Test-AppLockerPolicy                      
Test-Certificate                          
Test-ComputerSecureChannel                
Test-Connection                           
Test-DscConfiguration                     
Test-FileCatalog                          
Test-KdsRootKey                           
Test-ModuleManifest                       
Test-Path                                 
Test-PSSessionConfigurationFile           
Test-UevTemplate                          
Test-WSMan                                
Trace-Command                             
Unblock-File                              
Unblock-Tpm                               
Undo-DtcDiagnosticTransaction             
Undo-Transaction                          
Uninstall-Package                         
Uninstall-ProvisioningPackage             
Uninstall-TrustedProvisioningCertificate  
Unprotect-CmsMessage                      
Unpublish-AppvClientPackage               
Unregister-Event                          
Unregister-PackageSource                  
Unregister-PSSessionConfiguration         
Unregister-ScheduledJob                   
Unregister-UevTemplate                    
Unregister-WindowsDeveloperLicense        
Update-DscConfiguration                   
Update-FormatData                         
Update-Help                               
Update-List                               
Update-TypeData                           
Update-UevTemplate                        
Update-WIMBootEntry                       
Use-Transaction                           
Use-WindowsUnattend                       
Wait-Debugger                             
Wait-Event                                
Wait-Job                                  
Wait-Process                              
Where-Object                              
Write-Debug                               
Write-Error                               
Write-EventLog                            
Write-Host                                
Write-Information                         
Write-Output                              
Write-Progress           
Write-Verbose
Write-Warning

  • 基本的には動詞が先に来るのね.

エイリアスを確認

  • 次にコマンド名の別名を確認する.


PS C:\Users\ujpadmin> Get-Command -CommandType Alias | Select-Object Name, Definition >CommandLetAlias.txt🆑
PS C:\Users\ujpadmin>

  • 取得したテキストを確認する.

Name                                  Definition                  
----                                  ----------                  
%                                     ForEach-Object              
?                                     Where-Object                
ac                                    Add-Content                 
Add-AppPackage                                                    
Add-AppPackageVolume                                              
Add-AppProvisionedPackage                                         
Add-ProvisionedAppPackage                                         
Add-ProvisionedAppxPackage                                        
Add-ProvisioningPackage                                           
Add-TrustedProvisioningCertificate                                
algm                                                              
Apply-WindowsUnattend                                             
asnp                                  Add-PSSnapIn                
blsmba                                                            
cat                                   Get-Content                 
cd                                    Set-Location                
CFS                                   ConvertFrom-String          
chdir                                 Set-Location                
clc                                   Clear-Content               
clear                                 Clear-Host                  
clhy                                  Clear-History               
cli                                   Clear-Item                  
clp                                   Clear-ItemProperty          
cls                                   Clear-Host                  
clv                                   Clear-Variable              
cmpcfg                                                            
cnsn                                  Connect-PSSession           
compare                               Compare-Object              
copy                                  Copy-Item                   
cp                                    Copy-Item                   
cpi                                   Copy-Item                   
cpp                                   Copy-ItemProperty           
cssmbo                                                            
cssmbse                                                           
curl                                  Invoke-WebRequest           
cvpa                                  Convert-Path                
dbp                                   Disable-PSBreakpoint        
del                                   Remove-Item                 
diff                                  Compare-Object              
dir                                   Get-ChildItem               
Disable-PhysicalDiskIndication                                    
Disable-StorageDiagnosticLog                                      
Dismount-AppPackageVolume                                         
dlu                                                               
dnsn                                  Disconnect-PSSession        
dsmbd                                                             
ebp                                   Enable-PSBreakpoint         
echo                                  Write-Output                
elu                                                               
Enable-PhysicalDiskIndication                                     
Enable-StorageDiagnosticLog                                       
epal                                  Export-Alias                
epcsv                                 Export-Csv                  
epsn                                  Export-PSSession            
erase                                 Remove-Item                 
esmbd                                                             
etsn                                  Enter-PSSession             
exsn                                  Exit-PSSession              
fc                                    Format-Custom               
fhx                                   Format-Hex                  
fimo                                                              
fl                                    Format-List                 
Flush-Volume                                                      
foreach                               ForEach-Object              
ft                                    Format-Table                
fw                                    Format-Wide                 
gal                                   Get-Alias                   
gbp                                   Get-PSBreakpoint            
gc                                    Get-Content                 
gcai                                                              
gcb                                   Get-Clipboard               
gcfg                                                              
gcfgs                                                             
gci                                   Get-ChildItem               
gcim                                                              
gcls                                                              
gcm                                   Get-Command                 
gcms                                                              
gcs                                   Get-PSCallStack             
gdr                                   Get-PSDrive                 
Get-AppPackage                                                    
Get-AppPackageDefaultVolume                                       
Get-AppPackageLastError                                           
Get-AppPackageLog                                                 
Get-AppPackageManifest                                            
Get-AppPackageVolume                                              
Get-AppProvisionedPackage                                         
Get-DiskSNV                                                       
Get-PhysicalDiskSNV                                               
Get-ProvisionedAppPackage                                         
Get-ProvisionedAppxPackage                                        
Get-StorageEnclosureSNV                                           
ghy                                   Get-History                 
gi                                    Get-Item                    
gin                                   Get-ComputerInfo            
gip                                                               
gjb                                   Get-Job                     
gl                                    Get-Location                
glcm                                                              
glg                                                               
glgm                                                              
glu                                                               
gm                                    Get-Member                  
gmo                                   Get-Module                  
gp                                    Get-ItemProperty            
gps                                   Get-Process                 
gpv                                   Get-ItemPropertyValue       
group                                 Group-Object                
grsmba                                                            
gsmba                                                             
gsmbb                                                             
gsmbc                                                             
gsmbcc                                                            
gsmbcn                                                            
gsmbd                                                             
gsmbgm                                                            
gsmbm                                                             
gsmbmc                                                            
gsmbo                                                             
gsmbs                                                             
gsmbsc                                                            
gsmbscm                                                           
gsmbse                                                            
gsmbsn                                                            
gsmbt                                                             
gsmbw                                                             
gsn                                   Get-PSSession               
gsnp                                  Get-PSSnapIn                
gsv                                   Get-Service                 
gtz                                   Get-TimeZone                
gu                                    Get-Unique                  
gv                                    Get-Variable                
gwmi                                  Get-WmiObject               
h                                     Get-History                 
history                               Get-History                 
icim                                                              
icm                                   Invoke-Command              
iex                                   Invoke-Expression           
ihy                                   Invoke-History              
ii                                    Invoke-Item                 
Initialize-Volume                                                 
inmo                                                              
ipal                                  Import-Alias                
ipcsv                                 Import-Csv                  
ipmo                                  Import-Module               
ipsn                                  Import-PSSession            
irm                                   Invoke-RestMethod           
iru                                                               
ise                                   powershell_ise.exe          
iwmi                                  Invoke-WMIMethod            
iwr                                   Invoke-WebRequest           
kill                                  Stop-Process                
lp                                    Out-Printer                 
ls                                    Get-ChildItem               
man                                   help                        
md                                    mkdir                       
measure                               Measure-Object              
mi                                    Move-Item                   
mount                                 New-PSDrive                 
Mount-AppPackageVolume                                            
move                                  Move-Item                   
Move-AppPackage                                                   
Move-SmbClient                                                    
mp                                    Move-ItemProperty           
msmbw                                                             
mv                                    Move-Item                   
nal                                   New-Alias                   
ncim                                                              
ncms                                                              
ncso                                                              
ndr                                   New-PSDrive                 
ni                                    New-Item                    
nlg                                                               
nlu                                                               
nmo                                   New-Module                  
npssc                                 New-PSSessionConfigurationFile
nsmbgm                                                            
nsmbm                                                             
nsmbs                                                             
nsmbscm                                                           
nsmbt                                                             
nsn                                   New-PSSession               
nv                                    New-Variable                
nwsn                                                              
ogv                                   Out-GridView                
oh                                    Out-Host                    
Optimize-AppProvisionedPackages                                   
Optimize-ProvisionedAppPackages                                   
Optimize-ProvisionedAppxPackages                                  
pbcfg                                                             
pfn                                                               
popd                                  Pop-Location                
ps                                    Get-Process                 
pumo                                                              
pushd                                 Push-Location               
pwd                                   Get-Location                
r                                     Invoke-History              
rbp                                   Remove-PSBreakpoint         
rcie                                                              
rcim                                                              
rcjb                                  Receive-Job                 
rcms                                                              
rcsn                                  Receive-PSSession           
rd                                    Remove-Item                 
rdr                                   Remove-PSDrive              
Remove-AppPackage                                                 
Remove-AppPackageVolume                                           
Remove-AppProvisionedPackage                                      
Remove-EtwTraceSession                                            
Remove-ProvisionedAppPackage                                      
Remove-ProvisionedAppxPackage                                     
Remove-ProvisioningPackage                                        
Remove-TrustedProvisioningCertificate                             
ren                                   Rename-Item                 
ri                                    Remove-Item                 
rjb                                   Remove-Job                  
rksmba                                                            
rlg                                                               
rlgm                                                              
rlu                                                               
rm                                    Remove-Item                 
rmdir                                 Remove-Item                 
rmo                                   Remove-Module               
rni                                   Rename-Item                 
rnlg                                                              
rnlu                                                              
rnp                                   Rename-ItemProperty         
rp                                    Remove-ItemProperty         
rsmbb                                                             
rsmbc                                                             
rsmbgm                                                            
rsmbm                                                             
rsmbs                                                             
rsmbscm                                                           
rsmbt                                                             
rsn                                   Remove-PSSession            
rsnp                                  Remove-PSSnapin             
rtcfg                                                             
rujb                                  Resume-Job                  
rv                                    Remove-Variable             
rvpa                                  Resolve-Path                
rwmi                                  Remove-WMIObject            
sacfg                                                             
sajb                                  Start-Job                   
sal                                   Set-Alias                   
saps                                  Start-Process               
sasv                                  Start-Service               
sbp                                   Set-PSBreakpoint            
sc                                    Set-Content                 
scb                                   Set-Clipboard               
scim                                                              
select                                Select-Object               
set                                   Set-Variable                
Set-AppPackageDefaultVolume                                       
Set-AppPackageProvisionedDataFile                                 
Set-AutologgerConfig                                              
Set-EtwTraceSession                                               
Set-ProvisionedAppPackageDataFile                                 
Set-ProvisionedAppXDataFile                                       
shcm                                  Show-Command                
si                                    Set-Item                    
sl                                    Set-Location                
slcm                                                              
sleep                                 Start-Sleep                 
slg                                                               
sls                                   Select-String               
slu                                                               
sort                                  Sort-Object                 
sp                                    Set-ItemProperty            
spjb                                  Stop-Job                    
spps                                  Stop-Process                
spsv                                  Stop-Service                
ssmbb                                                             
ssmbcc                                                            
ssmbp                                                             
ssmbs                                                             
ssmbsc                                                            
start                                 Start-Process               
stz                                   Set-TimeZone                
sujb                                  Suspend-Job                 
sv                                    Set-Variable                
swmi                                  Set-WMIInstance             
tcfg                                                              
tee                                   Tee-Object                  
tid                                                               
TNC                                                               
trcm                                  Trace-Command               
type                                  Get-Content                 
udsmbmc                                                           
ulsmba                                                            
upcfg                                                             
upmo                                                              
wget                                  Invoke-WebRequest           
where                                 Where-Object                
wjb                                   Wait-Job                    
write                                 Write-Output                
Write-FileSystemCache                                             
  • 短い名前になるとUNIX系を意識している名前も見えてくる.

広告スペース
Google