Remove-QlikStream.ps1
function Remove-QlikStream { <# .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 Remove-QlikStream 'abc' Description of the example. #> <# Enable -Confirm and -WhatIf. #> [CmdletBinding(SupportsShouldProcess = $true)] param( [parameter(Position=0,ValueFromPipelinebyPropertyName=$true)] [string]$id ) begin { } process { return Invoke-QlikDelete "/qrs/stream/$id" } end { } } if ($loadingModule) { Export-ModuleMember -Function 'Remove-QlikStream' } |