< Back
Remove-ALAppLayerRev
Post
NAME Remove-ALAppLayerRev
SYNOPSIS
Removes a app layer version
SYNTAX
Remove-ALAppLayerRev [-websession] <Object> [-appid] <Object> [-apprevid] <Object> [-fileshareid] <Object>
[-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Removes a app layer version
PARAMETERS
-websession <Object>
Existing Webrequest session for ELM Appliance
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-appid <Object>
Base application layer version id to use
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-apprevid <Object>
Application revision version id to use
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-fileshareid <Object>
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$fileshare = Get-ALRemoteshare -websession $websession
$appid = Get-ALapplayer -websession $websession | where{$_.name -eq "7-Zip"}
$apprevid = get-alapplayerDetail -websession $websession -id $appid.Id
$apprevid = $apprevid.Revisions.AppLayerRevisionDetail | where{$_.candelete -eq $true} | Sort-Object revision
-Descending | select -First 1
remove-alapplayerrev -websession $websession -appid $appid.Id -apprevid $apprevid.id -fileshareid $fileshare.id
RELATED LINKS
SYNOPSIS
Removes a app layer version
SYNTAX
Remove-ALAppLayerRev [-websession] <Object> [-appid] <Object> [-apprevid] <Object> [-fileshareid] <Object>
[-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Removes a app layer version
PARAMETERS
-websession <Object>
Existing Webrequest session for ELM Appliance
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-appid <Object>
Base application layer version id to use
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-apprevid <Object>
Application revision version id to use
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-fileshareid <Object>
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$fileshare = Get-ALRemoteshare -websession $websession
$appid = Get-ALapplayer -websession $websession | where{$_.name -eq "7-Zip"}
$apprevid = get-alapplayerDetail -websession $websession -id $appid.Id
$apprevid = $apprevid.Revisions.AppLayerRevisionDetail | where{$_.candelete -eq $true} | Sort-Object revision
-Descending | select -First 1
remove-alapplayerrev -websession $websession -appid $appid.Id -apprevid $apprevid.id -fileshareid $fileshare.id
RELATED LINKS