Functions/Get-IAWidgetConfigurationHistory.ps1
Function Get-IAWidgetConfigurationHistory { Param( [Parameter(ParameterSetName='Id', Mandatory = $true)] [String] $Id ) $Uri = "WidgetConfigurationHistories" if($Id){ $Uri += "($Id)" } if ($Filter) { $Uri += "?&`$filter=$Filter" } $response = Invoke-IAQuery -QueryUrl $Uri -Method Get return $response } |