Functions/New-IAWidgetConfigurationFreeText.ps1
Function New-IAWidgetConfigurationClock { Param( [Parameter(Mandatory = $true)] [PSObject] $IAWidgetConfigurationClockObject, [Switch]$PassThru ) $Uri = "WidgetConfigurationClocks" $Body = $IAWidgetConfigurationClockObject | ConvertTo-Json Write-Verbose "Body: $Body" $response = Invoke-IAQuery -QueryUrl $Uri -Method Post -Body $Body if($PassThru){ if ($null -eq $response) { return $null } return $response } } |