Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements!
Migrating from Windows PowerShell 5.1 to PowerShell 7 - PowerShell
PS C:\Users\pc> diskpart
Microsoft DiskPart version 10.0.22000.653
Copyright (C) Microsoft Corporation.
On computer: RAMPAGE
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 223 GB 1024 KB *
Disk 1 Online 223 GB 1024 KB *
Disk 2 Online 59 GB 1024 KB
DISKPART> select disk 2
Disk 2 is now the selected disk.
DISKPART> clean
DiskPart succeeded in cleaning the disk.
DISKPART> create Partition primary 1
The arguments specified for this command are not valid.
For more information on the command type: HELP CREATE PARTITION PRIMARY
DISKPART> create partition primary
Virtual Disk Service error:
İşlem zamanı aşıldı.
DiskPart has referenced an object which is not up-to-date.
Refresh the object by using the RESCAN command.
If the problem persists exit DiskPart, then restart DiskPart or restart the
computer.
DISKPART> select partition 1
Partition 1 is now the selected partition.
DISKPART> active
DiskPart marked the current partition as active.
DISKPART> format fs=ntfs
100 percent completed
DiskPart has encountered an error: İstek desteklenmiyor.
See the System Event Log for more information.
DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.
DISKPART>