Get-WssBackupDisk

Get-WssBackupDisk

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

Sintaxis

Get-WssBackupDisk [ <CommonParameters>]

Descripción detallada

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

Parámetros

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupDisk

    This cmdlet returns the disks which can be used as server backup targets.

Ejemplos

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

Temas relacionados

Initialize-WssBackupDisk