CIS251_1.8_Creating_Differencing_Disk_Corey_Adams

docx

School

ECPI University, Greensboro *

*We aren’t endorsed by this school

Course

251

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

3

Uploaded by corada5995

Report
CIS251 – 1.8 – Creating a Differencing Disk Corey Adams
PowerShell Commands Command Example Description Get- Childitem Get-Childitem -Path C:\ Displays the files in the C:\ directory New-VHD New-VHD Creates one or more new virtual hard disks. New-VHD -Path D:\ VHD\Server-02-HD- 01.vhdx -ParentPath D:\ Images\2K19-GUI- Base.vhdx -Differencing This example creates a VHDX-format differencing virtual hard disk with a parent path of D:\Images\ 2K19-GUIBase.vhdx -Differencing -Differencing Specifies that a differencing virtual hard disk is to be created. -ParentPath -ParentPath Specifies the path to the parent of the differencing disk
to be created (this parameter may be specified only for the creation of a differencing disk). -Path -Path Path to the new virtual hard disk file(s) that is being created as a result of a command. If a filename or relative path is specified, the new virtual hard disk path is calculated relative to the current working directory. Get-ChildItem -Path D:\VHD\ | ForEach-Object { Get-VHD -Path $_.FullName } | Format-Table -Property Compu*,*Path The above command shows all of the hard drives that where created and the path which they are located along with their full name.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help