CoreOps/VolumeGroupView/Remove-SDPVolumeGroupView.ps1
function Remove-SDPVolumeGroupView { param( [parameter(Mandatory,ValueFromPipelineByPropertyName)] [Alias('pipeId')] [string] $id, [parameter()] [string] $k2context = 'k2rfconnection' ) ## Special Ops begin { $endpoint = 'snapshots' } process { ## Make the call $endpointURI = $endpoint + '/' + $id $results = Invoke-SDPRestCall -endpoint $endpointURI -method DELETE -k2context $k2context return $results } } |