Extend volume: Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
K (Admin verschob die Seite Expand Volume to Max nach Extend volume, ohne dabei eine Weiterleitung anzulegen)
 
Zeile 1: Zeile 1:
 
== Extend the drive/volume (with all free space) ==
 
== Extend the drive/volume (with all free space) ==
 
<source lang="powershell">
 
<source lang="powershell">
$DriveLetter = C; Resize-Partition -DriveLetter $DriveLetter  -Size ((Get-PartitionSupportedSize -DriveLetter $DriveLetter).SizeMax)  
+
$DriveLetter = "C"; Resize-Partition -DriveLetter $DriveLetter  -Size ((Get-PartitionSupportedSize -DriveLetter $DriveLetter).SizeMax)  
 
</source>
 
</source>
  

Aktuelle Version vom 2. Dezember 2020, 15:52 Uhr

Extend the drive/volume (with all free space)

$DriveLetter = "C"; Resize-Partition -DriveLetter $DriveLetter  -Size ((Get-PartitionSupportedSize -DriveLetter $DriveLetter).SizeMax)