Get-WBDisk
Gets a list of internal and external disks that are online for the local computer.
Syntax
Get-WBDisk []
Description
The Get-WBDisk cmdlet gets a list of internal and external disks that are online for the local computer. You can add these disks to a WBPolicy object that contains a backup policy by using the New-WBBackupTarget cmdlet to specify online disks as backup storage locations.
To use this cmdlet, you must be a member of the Administrators group or Backup Operators group.
Examples
Example 1: Get a list of disks for the local computer
PS C:\> $Disks = Get-WBDisk
This command gets a list of the disks that are on the system. You can then use the WBDisk object in the variable named $Disks to specify a WBBackupTarget object, and use the WBBackupTarget object to specify where to store backups for a WBPolicy object that contains a backup policy.
Inputs
None
Outputs
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기