Get-WssBackupDisk
Gets a list of online hard disks that can be backup targets and can store server backups..
Syntax
Get-WssBackupDisk []
Description
The Get-WssBackupDisk cmdlet gets all online hard disks that can be backup targets and can store server backups.
Examples
Example 1: Get a list of backup targets
PS C:\> $ContosoBUDisk215 = Get-WssBackupDisk
This command gets the list of currently available backup targets and stores the list in the variable named $ContosoBUDisk215.
Outputs
Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupDisk
This cmdlet returns the disks which can be used as server backup targets.