PowerShell Flashcards

PowerShell Disk Commands

1
Q

This command will add a disk to a storage pool.

A

Add-PhysicalDisk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

This command removes all partition information and erases all data on a disk.

A

Clear-Disk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Administrators use this command for connecting a disconnected virtual disk to a computer using Storage Spaces.

A

Connect-VirtualDisk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

This command will disconnect a virtual disk from a computer.

A

Disconnect-VirtualDisk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Administrators can use this command to dismount a VHD or ISO image from a machine.

A

Dismount-DiskImage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

This command formats a volume on a drive.

A

Format-Volume

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This command allows an operating system to see a disk.

A

Get-Disk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

This command allows an operating system to see a disk image.

A

Get-DiskImage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Allows an administrator to check the integrity information for a file that is on an ReFS volume.

A

Get-FileIntegrity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

This command allows an administrator to get a list of partitions on the system’s disks.

A

Get-Partition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

This command gives you a list of all of your available physical disks.

A

Get-PhysicalDisk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

This command allows an operating system to see a virtual disk.

A

Get-VirtualDisk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

This command shows you the volume object.

A

Get-Volume

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

This command allows you to initializes a disk for first-time use.

A

Initialize-Disk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

This command allows you to remotely execute PowerShell commands on another system.

A

Invoke-Command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Administrators can use this command to mount a VHD or ISO image. By doing this, the image will appear as a normal disk.

A

Mount-DiskImage

17
Q

This allows administrators to create a new partition on an existing disk.

A

New-Partition

18
Q

This command allows you to create a new storage pool of physical disks.

A

New-StoragePool

19
Q

This command creates a new virtual disk in the specified storage pool.

A

New-VirtualDisk

20
Q

This command allows you to create a new volume.

A

New-Volume

21
Q

Administrators can use this command allows you to remove a partition.

A

Remove-Partition

22
Q

This command allows you to remove a disk.

A

Remove-PhysicalDisk

23
Q

Administrators can use this command allows you to remove a virtual disk.

A

Remove-VirtualDisk

24
Q

This command allows you to repair a virtual disk.

A

Repair-VirtualDisk

25
Q

Administrators can use this command allows you to repair a volume.

A

Repair-Volume

26
Q

This command allows you to resize a partition.

A

Resize-Partition

27
Q

Administrators can use this command to set partition attributes, such as setting the partition to be active.

A

Set-Partition

28
Q

You can use this command to set disk attributes.

A

Set-PhysicalDisk

29
Q

This command allows you to modify the properties of the specified storage pool.

A

Set-StoragePool

30
Q

This command allows an administrator to set or change the file system label of a volume.

A

Set-Volume

31
Q

Administrators can update cached information about a specified disk.

A

Update-Disk

32
Q

This command will update the metadata of a Windows Server 2012 R2 storage pool.

A

Update-StoragePool