Where Azure uses JSON, Google Cloud uses YAML. That doesn't matter though, as PowerShell Core allows us to use cmdlets to store templates. This recipe shows you how to create instance templates and spin up new instance groups with similar VM configurations.
Deploying Google Cloud templates
Getting ready
Install and start PowerShell Core.
How to do it...
Let's perform the following steps:
- Execute the following commands:
$image = Get-GceImage -Family "windows-2016"
$disks = @(
New-GceAttachedDiskConfig -SourceImage $image -Name os -AutoDelete -Boot...