The following snippet will check if a VM is turned on, and if not start it, then launch the Bastion connection window in Edge.
$VM = Get-AzVM -Name 'LN-TCTester-01' -Status
if($VM.PowerState -eq 'VM deallocated'){
$VM | Start-AzVM
}
Start-Process -Path msedge -ArgumentList "https://portal.azure.com/#/resource$($VM.Id)/bastionHost"