# resize disk
& $scriptFolder\disk-resize.ps1

# reboot
Restart-Computer
# get script folder
$scriptFolder = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent

# resize disk
& $scriptFolder\disk-resize.ps1

# reboot
Restart-Computer
Fix for missing script folder variable for Windows Server disk resize
Fix for missing script folder variable for Windows Server disk resize