Each cmdlets are provided by Powershell module, and it belongs to the module.
Invoke-RestMethod is provided by Microsoft.PowerShell.Utility module
PS Env:\> Get-Command Invoke-RestMethod
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Invoke-RestMethod 3.1.0.0 Microsoft.PowerShell.Utility
You can see a number of cmdlets are provided by Microsoft.PowerShell.Utility with 'Get-Module' cmdlet.
PS Env:\> (Get-Module Microsoft.PowerShell.Utility).ExportedCmdlets
Key Value
--- -----
Add-Member Add-Member
Add-Type Add-Type
Clear-Variable Clear-Variable
Compare-Object Compare-Object
Convert-String Convert-String
ConvertFrom-Csv ConvertFrom-Csv
ConvertFrom-Json ConvertFrom-Json
ConvertFrom-String ConvertFrom-String
ConvertFrom-StringData ConvertFrom-StringData
ConvertTo-Csv ConvertTo-Csv
ConvertTo-Html ConvertTo-Html
ConvertTo-Json ConvertTo-Json
ConvertTo-Xml ConvertTo-Xml
Debug-Runspace Debug-Runspace
Disable-PSBreakpoint Disable-PSBreakpoint
Disable-RunspaceDebug Disable-RunspaceDebug
Enable-PSBreakpoint Enable-PSBreakpoint
Enable-RunspaceDebug Enable-RunspaceDebug
Export-Alias Export-Alias
PS Env:\> Get-Command Invoke-RestMethod
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Invoke-RestMethod 3.1.0.0 Microsoft.PowerShell.Utility
You can see a number of cmdlets are provided by Microsoft.PowerShell.Utility with 'Get-Module' cmdlet.
PS Env:\> (Get-Module Microsoft.PowerShell.Utility).ExportedCmdlets
Key Value
--- -----
Add-Member Add-Member
Add-Type Add-Type
Clear-Variable Clear-Variable
Compare-Object Compare-Object
Convert-String Convert-String
ConvertFrom-Csv ConvertFrom-Csv
ConvertFrom-Json ConvertFrom-Json
ConvertFrom-String ConvertFrom-String
ConvertFrom-StringData ConvertFrom-StringData
ConvertTo-Csv ConvertTo-Csv
ConvertTo-Html ConvertTo-Html
ConvertTo-Json ConvertTo-Json
ConvertTo-Xml ConvertTo-Xml
Debug-Runspace Debug-Runspace
Disable-PSBreakpoint Disable-PSBreakpoint
Disable-RunspaceDebug Disable-RunspaceDebug
Enable-PSBreakpoint Enable-PSBreakpoint
Enable-RunspaceDebug Enable-RunspaceDebug
Export-Alias Export-Alias
No comments:
Post a Comment