2022/01/15 #Get-Command の属性

皆様おはようございます、
#猫でもできるPowerShell(備忘録)
#Get-Command の属性

PS> Get-Command Clear-Host |FL *
HelpUri             : https://docs.microsoft.com/powershell/module/microsoft.powershell.core/functions/clear-host?view=
                      powershell-5.1&WT.mc_id=ps-gethelp
ScriptBlock         :
                      $RawUI = $Host.UI.RawUI
                      $RawUI.CursorPosition = @{X=0;Y=0}
                      $RawUI.SetBufferContents(
                          @{Top = -1; Bottom = -1; Right = -1; Left = -1},
                          @{Character = ' '; ForegroundColor = $rawui.ForegroundColor; BackgroundColor = $rawui.Backgro
                      undColor})
                      # .Link
                      # https://go.microsoft.com/fwlink/?LinkID=225747
                      # .ExternalHelp System.Management.Automation.dll-help.xml

CmdletBinding       : False
DefaultParameterSet :
Definition          :
                      $RawUI = $Host.UI.RawUI
                      $RawUI.CursorPosition = @{X=0;Y=0}
                      $RawUI.SetBufferContents(
                          @{Top = -1; Bottom = -1; Right = -1; Left = -1},
                          @{Character = ' '; ForegroundColor = $rawui.ForegroundColor; BackgroundColor = $rawui.Backgro
                      undColor})
                      # .Link
                      # https://go.microsoft.com/fwlink/?LinkID=225747
                      # .ExternalHelp System.Management.Automation.dll-help.xml

Options             : None
Description         :
Verb                : Clear
Noun                : Host
HelpFile            : C:\Windows\System32\WindowsPowerShell\v1.0\en-US\System.Management.Automation.dll-help.xml
OutputType          : {}
Name                : Clear-Host
CommandType         : Function
Source              :
Version             :
Visibility          : Public
ModuleName          :
Module              :
RemotingCapability  : PowerShell
Parameters          : {}
ParameterSets       : {}


PowerShellコマンドがこれらの内容から組み上がったものと理解できます

ではまた;