Skip to content

Instantly share code, notes, and snippets.

Avatar

Nathanael Marchand NatMarchand

View GitHub Profile
View configure-vms.ps1
param($StorageAccount, $StorageKey)
Start-Sleep -Milliseconds 1
function Mount-DataDisks {
$disks = Get-Disk | Where-Object partitionstyle -eq 'raw' | Sort-Object number
$letters = 73..89 | ForEach-Object { [char]$_ }
$count = 0