Get-WssBackupSet

Get-WssBackupSet

Gets a collection of backup sets from a server backup.

Syntax

Parameter Set: Default
Get-WssBackupSet [[-BackupTarget] <BackupTarget> ] [[-MachineName] <String> ] [ <CommonParameters>]

Detailed Description

The Get-WssBackupSet cmdlet gets a collection of backup sets from a server backup. A backup set is the output of a successful backup operation.

Parameters

-BackupTarget<BackupTarget>

Specifies the target volume from which to get the backup sets.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MachineName<String>

Specifies the name of the server whose data is in the backup set.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get backup sets from a server backup

This command gets a list of backup sets from the server backup that is stored in the variable named $ContosoWest01.

PS C:\> Get-WssBackupSet -BackupTarget $ContosoWest01

Get-WssBackupJob

Start-WssBackupJob

Stop-WssBackupJob