13 lines
441 B
PowerShell
13 lines
441 B
PowerShell
# WizardKit: Check Partition Alignment
|
|
|
|
#Requires -Version 3.0
|
|
if (Test-Path Env:\DEBUG) {
|
|
Set-PSDebug -Trace 1
|
|
}
|
|
$Host.UI.RawUI.WindowTitle = "WizardKit: Check Partition Alignment"
|
|
$Host.UI.RawUI.BackgroundColor = "black"
|
|
$Host.UI.RawUI.ForegroundColor = "white"
|
|
$ProgressPreference = "SilentlyContinue"
|
|
|
|
# Main
|
|
Get-CimInstance -Query "Select * from Win32_DiskPartition" | select Name,Size,StartingOffset | ConvertTo-Json
|