Extend volume: Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „## Extend the drive/volume (with all free space) ## <source lang="powershell"> $DriveLetter = C; Resize-Partition -DriveLetter $DriveLetter -Size ((Get-Partit…“)
 
 
(2 dazwischenliegende Versionen des gleichen Benutzers werden nicht angezeigt)
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)