Private/Get-MSGObject.ps1
function Get-MSGObject { [CmdletBinding()] param ( # Parameter help description [Parameter(Mandatory = $true)][string] $uri, [switch] $limitedOutput, [switch] $raw ) begin { $method = "get" } process { return Invoke-MSGWebRequest -method $method -uri $uri -limitedOutput:$limitedOutput } } |