Get-WssBackupDisk

Get-WssBackupDisk

Gets a list of online hard disks that can be backup targets and can store server backups..

Syntax

Get-WssBackupDisk [ <CommonParameters>]

Detailed Description

The Get-WssBackupDisk cmdlet gets all online hard disks that can be backup targets and can store server backups.

Parameters

<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 a list of backup targets

This command gets the list of currently available backup targets and stores the list in the variable named $ContosoBUDisk215.

PS C:\> $ContosoBUDisk215 = Get-WssBackupDisk

Initialize-WssBackupDisk