Does anyone have an example of doing a cloudbase-init (windows of course) format of a disk drive? I can't see any way of doing it but I must be wrong.
Thanks all,Carl L.
I expect something like this to work:
Get-Disk | Where-Object PartitionStyle -Eq "RAW" | Initialize-Disk -PassThru | New-Partition -AssignDriveLetter -UseMaximumSize | Format-Volume