Skip to content

Instantly share code, notes, and snippets.

@mczerniawski
Created December 21, 2018 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mczerniawski/4a8bb6f6ac80c76e4317a0d24d87b9e9 to your computer and use it in GitHub Desktop.
Save mczerniawski/4a8bb6f6ac80c76e4317a0d24d87b9e9 to your computer and use it in GitHub Desktop.
VERBOSE: Processing Computer {HyperV} with default credentials of user {mczerniawski_admin}
VERBOSE: Processing adding new VHDX Disk to VM {VMName1} on Computer {HyperV}
VERBOSE: Getting VM {VMName1} properties from Computer {HyperV} to set Path for new VHDX
VERBOSE: Setting disk type to {Dynamic} for {VMName1} on Computer {HyperV}
VERBOSE: Creating new VHDX in {C:\AdminTools\VMName1\Virtual Hard Disks\VMName1_disk1.vhdx} for {VMName1} on Computer {HyperV}
Number :
PSComputerName : HyperV
RunspaceId : 7acbb7e4-efc4-4222-93c9-f75618873037
ComputerName : HyperV
Path : C:\AdminTools\VMName1\Virtual Hard Disks\VMName1_disk1.vhdx
VhdFormat : VHDX
VhdType : Dynamic
FileSize : 4194304
Size : 107374182400
MinimumSize :
LogicalSectorSize : 512
PhysicalSectorSize : 4096
BlockSize : 33554432
ParentPath :
DiskIdentifier : D5F483DA-A1C7-4A01-BDBE-CBBD989D2F43
FragmentationPercentage : 0
Alignment : 1
Attached : False
DiskNumber :
VERBOSE: Attaching new VHD for {VMName1} on Computer {HyperV}
VERBOSE: Attached new VHD for {VMName1} on Computer {HyperV}
VERBOSE: Processing computer {OSName1}
VERBOSE: Creating PSSession to computer {OSName1}
VERBOSE: Checking if there are any not initialized disks on {OSName1}
VERBOSE: Found #{1} raw disk on {OSName1}
VERBOSE: Processing disks on {OSName1}
PSComputerName : OSName1
RunspaceId : 0323298f-534c-4be1-9580-e7fa74734c6e
ObjectId : {1}\\OSName1\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{6e4dd0d4-9b56-11e8-a29a-806e6f6e6963}:VO:\\?\Volume{
b9306c9a-a189-4c5f-a103-737d77963206}\"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : \\?\Volume{b9306c9a-a189-4c5f-a103-737d77963206}\
AllocationUnitSize : 4096
DedupMode : 4
DriveLetter : E
DriveType : 3
FileSystem : NTFS
FileSystemLabel : Data
FileSystemType : 14
HealthStatus : 0
OperationalStatus : {2}
Path : \\?\Volume{b9306c9a-a189-4c5f-a103-737d77963206}\
Size : 107356352512
SizeRemaining : 107240054784
VERBOSE: Removing PSSession to Computer {OSName1}
VERBOSE: Processing Computer {HyperV} with default credentials of user {mczerniawski_admin}
VERBOSE: Processing adding new VHDX Disk to VM {VMName1} on Computer {HyperV}
VERBOSE: Getting VM {VMName1} properties from Computer {HyperV} to set Path for new VHDX
VERBOSE: Setting disk type to {Dynamic} for {VMName1} on Computer {HyperV}
VERBOSE: Creating new VHDX in {C:\AdminTools\VMName1\Virtual Hard Disks\VMName1_disk2.vhdx} for {VMName1} on Computer {HyperV}
Number :
PSComputerName : HyperV
RunspaceId : 92ff5a28-a7cb-4b0f-b003-0e38d1d82608
ComputerName : HyperV
Path : C:\AdminTools\VMName1\Virtual Hard Disks\VMName1_disk2.vhdx
VhdFormat : VHDX
VhdType : Dynamic
FileSize : 4194304
Size : 107374182400
MinimumSize :
LogicalSectorSize : 512
PhysicalSectorSize : 4096
BlockSize : 33554432
ParentPath :
DiskIdentifier : 74742985-C2B3-4B01-AB80-E4B81006A489
FragmentationPercentage : 0
Alignment : 1
Attached : False
DiskNumber :
VERBOSE: Attaching new VHD for {VMName1} on Computer {HyperV}
VERBOSE: Attached new VHD for {VMName1} on Computer {HyperV}
VERBOSE: Processing computer {OSName1}
VERBOSE: Creating PSSession to computer {OSName1}
VERBOSE: Checking if there are any not initialized disks on {OSName1}
VERBOSE: Found #{1} raw disk on {OSName1}
VERBOSE: Processing disks on {OSName1}
PSComputerName : OSName1
RunspaceId : ea37cf42-30b4-40a9-b94d-9e8e2d6dcec3
ObjectId : {1}\\OSName1\root/Microsoft/Windows/Storage/Providers_v2\WSP_Volume.ObjectId="{6e4dd0d4-9b56-11e8-a29a-806e6f6e6963}:VO:\\?\Volume{
0c1fa464-eb8c-4328-98cb-bc09a31e3385}\"
PassThroughClass :
PassThroughIds :
PassThroughNamespace :
PassThroughServer :
UniqueId : \\?\Volume{0c1fa464-eb8c-4328-98cb-bc09a31e3385}\
AllocationUnitSize : 4096
DedupMode : 4
DriveLetter : F
DriveType : 3
FileSystem : NTFS
FileSystemLabel : Data
FileSystemType : 14
HealthStatus : 0
OperationalStatus : {2}
Path : \\?\Volume{0c1fa464-eb8c-4328-98cb-bc09a31e3385}\
Size : 107356352512
SizeRemaining : 107240054784
VERBOSE: Removing PSSession to Computer {OSName1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment