Invoke-QlikPut.ps1
function Invoke-QlikPut { <# .SYNOPSIS This function ... .DESCRIPTION A bit more description .PARAMETER FromPipeline Shows how to process input from the pipeline, remaining parameters or by named parameter. .EXAMPLE Invoke-QlikPut 'abc' Description of the example. #> <# Enable -Confirm and -WhatIf. #> [CmdletBinding(SupportsShouldProcess = $true)] param( [parameter(Mandatory=$true,Position=0)] [string]$path, [parameter(Position=1)] [string]$body ) begin { } process { $params = @{ ContentType = "application/json" Body = $body } return CallRestUri Put $path $params } end { } } if ($loadingModule) { Export-ModuleMember -Function 'Invoke-QlikPut' } |