2022/01/16 #Get-Help の属性
皆様おはようございます、
#猫でもできるPowerShell(備忘録)
#Get-Help の属性
PS> Get-Help Get-Command |FL
examples : @{example=System.Management.Automation.PSObject}
inputTypes : @{inputType=@{type=@{name=System.String}; description=System.Management.Automation.PSObject}}
alertSet : @{alert=System.Management.Automation.PSObject}
syntax : @{syntaxItem=System.Management.Automation.PSObject}
parameters : @{parameter=System.Management.Automation.PSObject}
details : @{description=System.Management.Automation.PSObject; verb=Get; noun=Command; name=Get-Command}
description : {@{Text=The `Get-Command` cmdlet gets all commands that are installed on the computer, including cmdlets, aliases, functions, fi
lters, scripts, and applications. `Get-Command` gets the commands from PowerShell modules and commands that were imported from o
ther sessions. To get only commands that have been imported into the current session, use the ListImported parameter.
}, @{Text=Without parameters, `Get-Command` gets all of the cmdlets, functions, and aliases installed on the computer. `Get-Comm
and *` gets all types of commands, including all of the non-PowerShell files in the Path environment variable (`$env:Path`), whi
ch it lists in the Application command type.
}, @{Text=`Get-Command` that uses the exact name of the command, without wildcard characters, automatically imports the module t
hat contains the command so that you can use the command immediately. To enable, disable, and configure automatic importing of m
odules, use the `$PSModuleAutoLoadingPreference` preference variable. For more information, see about_Preference_Variables (Abou
t/about_Preference_Variables.md).
}, @{Text=`Get-Command` gets its data directly from the command code, unlike `Get-Help`, which gets its information from help to
pics.
}...}
relatedLinks : @{navigationLink=System.Management.Automation.PSObject}
returnValues : @{returnValue=System.Management.Automation.PSObject}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:MSHelp : http://msdn.microsoft.com/mshelp
Name : Get-Command
Category : Cmdlet
Synopsis : Gets all commands.
Component :
Role :
Functionality :
PSSnapIn : Microsoft.PowerShell.Core
ModuleName : Microsoft.PowerShell.Core
昨日の「Get-Command」の属性に対して
今日は「Get-Help」の属性を調べてみました
ではまた;