Table of Contents |
---|
...
diskutil cs delete GUID
Windows
Batch File Reference
http://steve-jansen.github.io/guides/windows-batch-scripting/index.html
Converting to gpt
CMD:
Diskpart
...
Initialize-Disk -Number 0 -PartitionStyle GPT
Getting System Info
Detecting Windows Version
CMD:
ver | find "6.3" >nul && goto WIN8
...
Get-WindowsEdition -Verbose -Online
Detecting Hardware Model
if /i "%WMICModel:~0,7%"=="20074DU" set TP=y
...