< Back

Remove-SVTpolicy

Tue Jan 14, 2020 2:13 am

NAME Remove-SVTpolicy



SYNOPSIS

Removes a HPE SimpliVity backup policy





SYNTAX

Remove-SVTpolicy [-PolicyName] <String> [<CommonParameters>]





DESCRIPTION

Removes a HPE SimpliVity backup policy, providing it is not in use be any datastores or virtual machines.





PARAMETERS

-PolicyName <String>



Required? true

Position? 1

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

System.String





OUTPUTS

HPE.SimpliVity.Task





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-SVTvm | Select VMname, PolicyName



PS C:\\> Get-SVTdatastore | Select DatastoreName, PolicyName

PS C:\\> Remove-SVTpolicy -PolicyName Silver



Confirm there are no datastores or VMs using the backup policy and then delete it.











RELATED LINKS