Skip to content

Get-DiskPartDisk : Exception calling "TryParse" with "2" argument(s) #8

@Darbunderscore

Description

@Darbunderscore

OS: Windows 2008 R2 SP1
Misc: EMC PowerPath 6.2

When running get-disk against EMC XtremIO SAN disks, I get the following error (replaced actual disk values but they are varying values that are 8 characters long):

Get-DiskPartDisk : Exception calling "TryParse" with "2" argument(s): "Cannot convert value "xxxxxxxx" to type
"System.Guid". Error: "Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)."
At C:\Program Files\WindowsPowerShell\Modules\StoragePre2K12\1.0.3.0\StoragePre2K12.psm1:387 char:17
+     $DiskPart = Get-DiskPartDisk
+                 ~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-DiskPartDisk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions