PowerShell Flashcards
PowerShell Disk Commands
This command will add a disk to a storage pool.
Add-PhysicalDisk
This command removes all partition information and erases all data on a disk.
Clear-Disk
Administrators use this command for connecting a disconnected virtual disk to a computer using Storage Spaces.
Connect-VirtualDisk
This command will disconnect a virtual disk from a computer.
Disconnect-VirtualDisk
Administrators can use this command to dismount a VHD or ISO image from a machine.
Dismount-DiskImage
This command formats a volume on a drive.
Format-Volume
This command allows an operating system to see a disk.
Get-Disk
This command allows an operating system to see a disk image.
Get-DiskImage
Allows an administrator to check the integrity information for a file that is on an ReFS volume.
Get-FileIntegrity
This command allows an administrator to get a list of partitions on the system’s disks.
Get-Partition
This command gives you a list of all of your available physical disks.
Get-PhysicalDisk
This command allows an operating system to see a virtual disk.
Get-VirtualDisk
This command shows you the volume object.
Get-Volume
This command allows you to initializes a disk for first-time use.
Initialize-Disk
This command allows you to remotely execute PowerShell commands on another system.
Invoke-Command