Pureinfotech Forums

Windows powershell making partition error

I typed the following onto the windows PowerShell programm

PS C:\Users****> Get-Disk

and get this

Number Friendly Name Serial Number HealthStatus OperationalStatus Total Size Partition

0 KINGSTON S… 50026B726B0329FC Healthy Online 111.79 GB MBR
1 MAXTOR STM… 6RY3RP37 Healthy Online 232.89 GB MBR
3 Kingston D… 0 Healthy Online 28.82 GB MBR
2 Kingston D… 6E03A4414AC9 Healthy

And typed this:
PS C:\Users****> New-Partition -DiskNumber 3 -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel myUSB

New-Partition : Object Not Found
Activity ID: {1d767c42-7f11-4857-adff-2c9b2b436aa8}
At line:1 char:1

  • New-Partition -DiskNumber 3 -UseMaximumSize | Format-Volume -FileSyst …
  •   + CategoryInfo          : NotSpecified: (StorageWMI:ROOT/Microsoft/Windows/Storage/MSFT_Disk) [New-Partition], Cim
      + FullyQualifiedErrorId : StorageWMI 8,New-Partition