Skip to main content
SnapCenter 6.0 cmdlets

Refresh-SmSnapLock

Contributors

Updates the SnapLock settings for backups through ONTAP.

Syntax

Refresh-SmSnapLock [-AppObjectList]  <String>  [-All]  <>  [-Auth]  <String>

Detailed Description

Updates the SnapLock settings for primary as well as secondary backups including SnapLock for SnapVault through ONTAP.

Parameters

Name Description Required? Pipeline Input Default Value

AppObjectList

Object id list

false

true (ByPropertyName)

All

Refresh SnapLock Settings for all objects.

false

true (ByPropertyName)

Auth

Authentication

false

true (ByPropertyName)

Examples

Example 1: Updates the SnapLock settings for all the resources in the SnapCenter Server

 Refresh-SmSnapLock -All

This example syntax updates the SnapLock settings for all the resources in the SnapCenter Server through ONTAP.

Example 2: Updates the SnapLock settings by resource name

 Refresh-SmSnapLock -AppObjectList R708202074BV1\SQL2019\MDSL_DB3

This example syntax updates the SnapLock settings by resource name through ONTAP.

Example 3: Updates the SnapLock settings by resource name list

 Refresh-SmSnapLock -AppObjectList R708202074BV1\SQL2019\MDSL_DB1,R708202074BV1\SQL2019\MDSL_DB2

This example syntax updates the SnapLock settings by resource name list through ONTAP.