PowerShell 7.1.0 on macOS Catalina【後編】

さて、無事に(?)アップデートできたところで早速「Get-Command」を打ってみましょう。

三年前の結果と比較してみると、消えたものもあれば増えたものもあることが分かります。

 

 

Function は、消えたものが多いようです。

  6.0.0 7.1.0
Function Add-NodeKeys  
Function AddDscResourceProperty  
Function AddDscResourcePropertyFromMetadata  
Function cd.. cd..
Function cd\ cd\
Function CheckResourceFound  
Function Clear-Host Clear-Host
Function Compress-Archive Compress-Archive
Function Configuration Configuration
Function ConvertTo-MOFInstance  
Function Expand-Archive Expand-Archive
Function Find-Command Find-Command
Function Find-DscResource Find-DSCResource
Function Find-Module Find-Module
Function Find-RoleCapability Find-RoleCapability
Function Find-Script Find-Script
Function Generate-VersionInfo  
Function Get-CompatibleVersionAddtionaPropertiesStr  
Function Get-ComplexResourceQualifier  
Function Get-ConfigurationErrorCount  
Function   Get-CredsFromCredentialProvider
Function Get-DscResource Get-DscResource
Function Get-DSCResourceModules  
Function Get-EncryptedPassword  
Function Get-InnerMostErrorRecord  
Function Get-InstalledModule Get-InstalledModule
Function Get-InstalledScript Get-InstalledScript
Function Get-MofInstanceName  
Function Get-MofInstanceText  
Function Get-PositionInfo  
Function Get-PSCurrentConfigurationNode  
Function Get-PSDefaultConfigurationDocument  
Function Get-PSMetaConfigDocumentInstVersionInfo  
Function Get-PSMetaConfigurationProcessed  
Function Get-PSRepository Get-PSRepository
Function Get-PSTopConfigurationName  
Function Get-PublicKeyFromFile  
Function Get-PublicKeyFromStore  
Function GetCompositeResource  
Function GetImplementingModulePath  
Function GetModule  
Function GetPatterns  
Function GetResourceFromKeyword  
Function GetSyntax  
Function help help
Function ImportCimAndScriptKeywordsFromModule  
Function ImportClassResourcesFromModule  
Function Initialize-ConfigurationRuntimeState  
Function Install-Module Install-Module
Function Install-Script Install-Script
Function   Invoke-DscResource
Function IsHiddenResource  
Function IsPatternMatched  
Function more  
Function New-DscChecksum New-DscChecksum
Function New-ScriptFileInfo New-ScriptFileInfo
Function Node  
Function oss oss
Function Pause Pause
Function prompt prompt
Function PSConsoleHostReadline PSConsoleHostReadLine
Function Publish-Module Publish-Module
Function Publish-Script Publish-Script
Function ReadEnvironmentFile  
Function Register-PSRepository Register-PSRepository
Function Save-Module Save-Module
Function Save-Script Save-Script
Function Set-NodeExclusiveResources  
Function Set-NodeManager  
Function Set-NodeResources  
Function Set-NodeResourceSource  
Function Set-PSCurrentConfigurationNode  
Function Set-PSDefaultConfigurationDocument  
Function Set-PSMetaConfigDocInsProcessedBeforeMeta  
Function Set-PSMetaConfigVersionInfoV2  
Function Set-PSRepository Set-PSRepository
Function Set-PSTopConfigurationName  
Function StrongConnect  
Function TabExpansion2 TabExpansion2
Function Test-ConflictingResources  
Function Test-ModuleReloadRequired  
Function Test-MofInstanceText  
Function Test-NodeManager  
Function Test-NodeResources  
Function Test-NodeResourceSource  
Function Test-ScriptFileInfo Test-ScriptFileInfo
Function ThrowError  
Function Uninstall-Module Uninstall-Module
Function Uninstall-Script Uninstall-Script
Function Unregister-PSRepository Unregister-PSRepository
Function Update-ConfigurationDocumentRef  
Function Update-ConfigurationErrorCount  
Function Update-DependsOn  
Function Update-LocalConfigManager  
Function Update-Module Update-Module
Function Update-ModuleManifest Update-ModuleManifest
Function Update-ModuleVersion  
Function Update-Script Update-Script
Function Update-ScriptFileInfo Update-ScriptFileInfo
Function ValidateNoCircleInNodeResources  
Function ValidateNodeExclusiveResources  
Function ValidateNodeManager  
Function ValidateNodeResources  
Function ValidateNodeResourceSource  
Function ValidateNoNameNodeResources  
Function ValidateUpdate-ConfigurationData  
Function Write-Log  
Function Write-MetaConfigFile  
Function Write-NodeMOFFile  
Function WriteFile

 

逆に、Cmdlet は増えています。

  6.0.0 7.1.0
Cmdlet Add-Content Add-Content
Cmdlet Add-History Add-History
Cmdlet Add-Member Add-Member
Cmdlet Add-Type Add-Type
Cmdlet Clear-Content Clear-Content
Cmdlet Clear-History Clear-History
Cmdlet Clear-Item Clear-Item
Cmdlet Clear-ItemProperty Clear-ItemProperty
Cmdlet Clear-Variable Clear-Variable
Cmdlet Compare-Object Compare-Object
Cmdlet Convert-Path Convert-Path
Cmdlet ConvertFrom-Csv ConvertFrom-Csv
Cmdlet ConvertFrom-Json ConvertFrom-Json
Cmdlet   ConvertFrom-Markdown
Cmdlet ConvertFrom-SecureString ConvertFrom-SecureString
Cmdlet ConvertFrom-StringData ConvertFrom-StringData
Cmdlet ConvertTo-Csv ConvertTo-Csv
Cmdlet ConvertTo-Html ConvertTo-Html
Cmdlet ConvertTo-Json ConvertTo-Json
Cmdlet ConvertTo-SecureString ConvertTo-SecureString
Cmdlet ConvertTo-Xml ConvertTo-Xml
Cmdlet Copy-Item Copy-Item
Cmdlet Copy-ItemProperty Copy-ItemProperty
Cmdlet Debug-Job Debug-Job
Cmdlet Debug-Process Debug-Process
Cmdlet Debug-Runspace Debug-Runspace
Cmdlet   Disable-ExperimentalFeature
Cmdlet Disable-PSBreakpoint Disable-PSBreakpoint
Cmdlet Disable-RunspaceDebug Disable-RunspaceDebug
Cmdlet   Enable-ExperimentalFeature
Cmdlet Enable-PSBreakpoint Enable-PSBreakpoint
Cmdlet Enable-RunspaceDebug Enable-RunspaceDebug
Cmdlet   Enter-PSHostProcess
Cmdlet Enter-PSSession Enter-PSSession
Cmdlet   Exit-PSHostProcess
Cmdlet Exit-PSSession Exit-PSSession
Cmdlet Export-Alias Export-Alias
Cmdlet Export-Clixml Export-Clixml
Cmdlet Export-Csv Export-Csv
Cmdlet Export-FormatData Export-FormatData
Cmdlet Export-ModuleMember Export-ModuleMember
Cmdlet Export-PSSession Export-PSSession
Cmdlet Find-Package Find-Package
Cmdlet Find-PackageProvider Find-PackageProvider
Cmdlet ForEach-Object ForEach-Object
Cmdlet Format-Custom Format-Custom
Cmdlet Format-Hex Format-Hex
Cmdlet Format-List Format-List
Cmdlet Format-Table Format-Table
Cmdlet Format-Wide Format-Wide
Cmdlet Get-Alias Get-Alias
Cmdlet Get-ChildItem Get-ChildItem
Cmdlet   Get-Clipboard
Cmdlet   Get-CmsMessage
Cmdlet Get-Command Get-Command
Cmdlet Get-Content Get-Content
Cmdlet Get-Credential Get-Credential
Cmdlet Get-Culture Get-Culture
Cmdlet Get-Date Get-Date
Cmdlet   Get-Error
Cmdlet Get-Event Get-Event
Cmdlet Get-EventSubscriber Get-EventSubscriber
Cmdlet Get-ExecutionPolicy Get-ExecutionPolicy
Cmdlet   Get-ExperimentalFeature
Cmdlet Get-FileHash Get-FileHash
Cmdlet Get-FormatData Get-FormatData
Cmdlet Get-Help Get-Help
Cmdlet Get-History Get-History
Cmdlet Get-Host Get-Host
Cmdlet Get-Item Get-Item
Cmdlet Get-ItemProperty Get-ItemProperty
Cmdlet Get-ItemPropertyValue Get-ItemPropertyValue
Cmdlet Get-Job Get-Job
Cmdlet Get-Location Get-Location
Cmdlet   Get-MarkdownOption
Cmdlet Get-Member Get-Member
Cmdlet Get-Module Get-Module
Cmdlet Get-Package Get-Package
Cmdlet Get-PackageProvider Get-PackageProvider
Cmdlet Get-PackageSource Get-PackageSource
Cmdlet Get-PfxCertificate Get-PfxCertificate
Cmdlet Get-Process Get-Process
Cmdlet Get-PSBreakpoint Get-PSBreakpoint
Cmdlet Get-PSCallStack Get-PSCallStack
Cmdlet Get-PSDrive Get-PSDrive
Cmdlet   Get-PSHostProcessInfo
Cmdlet Get-PSProvider Get-PSProvider
Cmdlet Get-PSReadlineKeyHandler Get-PSReadLineKeyHandler
Cmdlet Get-PSReadlineOption Get-PSReadLineOption
Cmdlet Get-PSSession Get-PSSession
Cmdlet Get-Random Get-Random
Cmdlet Get-Runspace Get-Runspace
Cmdlet Get-RunspaceDebug Get-RunspaceDebug
Cmdlet Get-TimeZone Get-TimeZone
Cmdlet Get-TraceSource Get-TraceSource
Cmdlet Get-TypeData Get-TypeData
Cmdlet Get-UICulture Get-UICulture
Cmdlet Get-Unique Get-Unique
Cmdlet Get-Uptime Get-Uptime
Cmdlet Get-Variable Get-Variable
Cmdlet Get-Verb Get-Verb
Cmdlet Group-Object Group-Object
Cmdlet Import-Alias Import-Alias
Cmdlet Import-Clixml Import-Clixml
Cmdlet Import-Csv Import-Csv
Cmdlet Import-LocalizedData Import-LocalizedData
Cmdlet Import-Module Import-Module
Cmdlet Import-PackageProvider Import-PackageProvider
Cmdlet Import-PowerShellDataFile Import-PowerShellDataFile
Cmdlet Import-PSSession Import-PSSession
Cmdlet Install-Package Install-Package
Cmdlet Install-PackageProvider Install-PackageProvider
Cmdlet Invoke-Command Invoke-Command
Cmdlet Invoke-Expression Invoke-Expression
Cmdlet Invoke-History Invoke-History
Cmdlet Invoke-Item Invoke-Item
Cmdlet Invoke-RestMethod Invoke-RestMethod
Cmdlet Invoke-WebRequest Invoke-WebRequest
Cmdlet Join-Path Join-Path
Cmdlet   Join-String
Cmdlet Measure-Command Measure-Command
Cmdlet Measure-Object Measure-Object
Cmdlet Move-Item Move-Item
Cmdlet Move-ItemProperty Move-ItemProperty
Cmdlet New-Alias New-Alias
Cmdlet New-Event New-Event
Cmdlet New-Guid New-Guid
Cmdlet New-Item New-Item
Cmdlet New-ItemProperty New-ItemProperty
Cmdlet New-Module New-Module
Cmdlet New-ModuleManifest New-ModuleManifest
Cmdlet New-Object New-Object
Cmdlet New-PSDrive New-PSDrive
Cmdlet New-PSRoleCapabilityFile New-PSRoleCapabilityFile
Cmdlet New-PSSession New-PSSession
Cmdlet   New-PSSessionOption
Cmdlet New-PSTransportOption New-PSTransportOption
Cmdlet New-TemporaryFile New-TemporaryFile
Cmdlet New-TimeSpan New-TimeSpan
Cmdlet New-Variable New-Variable
Cmdlet Out-Default Out-Default
Cmdlet Out-File Out-File
Cmdlet Out-Host Out-Host
Cmdlet Out-Null Out-Null
Cmdlet Out-String Out-String
Cmdlet Pop-Location Pop-Location
Cmdlet   Protect-CmsMessage
Cmdlet Push-Location Push-Location
Cmdlet Read-Host Read-Host
Cmdlet Receive-Job Receive-Job
Cmdlet Register-ArgumentCompleter Register-ArgumentCompleter
Cmdlet Register-EngineEvent Register-EngineEvent
Cmdlet Register-ObjectEvent Register-ObjectEvent
Cmdlet Register-PackageSource Register-PackageSource
Cmdlet Remove-Alias Remove-Alias
Cmdlet Remove-Event Remove-Event
Cmdlet Remove-Item Remove-Item
Cmdlet Remove-ItemProperty Remove-ItemProperty
Cmdlet Remove-Job Remove-Job
Cmdlet Remove-Module Remove-Module
Cmdlet Remove-PSBreakpoint Remove-PSBreakpoint
Cmdlet Remove-PSDrive Remove-PSDrive
Cmdlet Remove-PSReadlineKeyHandler Remove-PSReadLineKeyHandler
Cmdlet Remove-PSSession Remove-PSSession
Cmdlet Remove-TypeData Remove-TypeData
Cmdlet Remove-Variable Remove-Variable
Cmdlet Rename-Item Rename-Item
Cmdlet Rename-ItemProperty Rename-ItemProperty
Cmdlet Resolve-Path Resolve-Path
Cmdlet   Restart-Computer
Cmdlet Save-Help Save-Help
Cmdlet Save-Package Save-Package
Cmdlet Select-Object Select-Object
Cmdlet Select-String Select-String
Cmdlet Select-Xml Select-Xml
Cmdlet Send-MailMessage Send-MailMessage
Cmdlet Set-Alias Set-Alias
Cmdlet   Set-Clipboard
Cmdlet Set-Content Set-Content
Cmdlet Set-Date Set-Date
Cmdlet Set-ExecutionPolicy Set-ExecutionPolicy
Cmdlet Set-Item Set-Item
Cmdlet Set-ItemProperty Set-ItemProperty
Cmdlet Set-Location Set-Location
Cmdlet   Set-MarkdownOption
Cmdlet Set-PackageSource Set-PackageSource
Cmdlet Set-PSBreakpoint Set-PSBreakpoint
Cmdlet Set-PSDebug Set-PSDebug
Cmdlet Set-PSReadlineKeyHandler Set-PSReadLineKeyHandler
Cmdlet Set-PSReadlineOption Set-PSReadLineOption
Cmdlet Set-StrictMode Set-StrictMode
Cmdlet Set-TraceSource Set-TraceSource
Cmdlet Set-Variable Set-Variable
Cmdlet   Show-Markdown
Cmdlet Sort-Object Sort-Object
Cmdlet Split-Path Split-Path
Cmdlet Start-Job Start-Job
Cmdlet Start-Process Start-Process
Cmdlet Start-Sleep Start-Sleep
Cmdlet   Start-ThreadJob
Cmdlet Start-Transcript Start-Transcript
Cmdlet   Stop-Computer
Cmdlet Stop-Job Stop-Job
Cmdlet Stop-Process Stop-Process
Cmdlet Stop-Transcript Stop-Transcript
Cmdlet Tee-Object Tee-Object
Cmdlet   Test-Connection
Cmdlet   Test-Json
Cmdlet Test-ModuleManifest Test-ModuleManifest
Cmdlet Test-Path Test-Path
Cmdlet Trace-Command Trace-Command
Cmdlet   Unblock-File
Cmdlet Uninstall-Package Uninstall-Package
Cmdlet   Unprotect-CmsMessage
Cmdlet Unregister-Event Unregister-Event
Cmdlet Unregister-PackageSource Unregister-PackageSource
Cmdlet Update-FormatData Update-FormatData
Cmdlet Update-Help Update-Help
Cmdlet   Update-List
Cmdlet Update-TypeData Update-TypeData
Cmdlet Wait-Debugger Wait-Debugger
Cmdlet Wait-Event Wait-Event
Cmdlet Wait-Job Wait-Job
Cmdlet Wait-Process Wait-Process
Cmdlet Where-Object Where-Object
Cmdlet Write-Debug Write-Debug
Cmdlet Write-Error Write-Error
Cmdlet Write-Host Write-Host
Cmdlet Write-Information Write-Information
Cmdlet Write-Output Write-Output
Cmdlet Write-Progress Write-Progress
Cmdlet Write-Verbose Write-Verbose
Cmdlet Write-Warning Write-Warning

 


 

個人的には、Windows における「NetAdapter」モジュールのような、ネットワーク関連のコマンドレットが無いのが少々残念です。
(NIC の情報を取得する "Get-NetAdapter" 等)

なお、試しに 6 年近く前の記事「PowerShellでCSVファイルを結合してみた。」と同じ作業を実施してみたところ、問題無く結合できました。