Refresh-FileSystemSnapshot

SYNOPSIS

Refreshes a file system snapshot.

SYNTAX

Refresh-FileSystemSnapshot [-Cluster] <Cluster> [-Id] <String> [-Confirm] [-Force] [-PassThru] [-WhatIf]
 [<CommonParameters>]

DESCRIPTION

Refreshes a file system snapshot. The content of the snapshot is replaced with the current content of the parent file system.

EXAMPLES

Example 1

PS C:\> Refresh-FileSystemSnapshot -Cluster $cluster -Id de81f766-498f-4126-961d-bcab8bce35a4

Where $cluster is a PowerStore cluster. Refreshes the file system snapshot with ID de81f766-498f-4126-961d-bcab8bce35a4.

PARAMETERS

-Cluster

The PowerStore cluster instance.

Type: Cluster
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Id

The file system snapshot ID.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Force

Suppress confirmation prompt before refreshing the file system snapshot.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

Return the file system snapshot instance that was refreshed.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Dell.PowerStore.Management.Model.Cluster

System.String

OUTPUTS

Dell.PowerStore.Management.Model.FileSystemSnapshot

NOTES