Showing posts with label Bastion. Show all posts
Showing posts with label Bastion. Show all posts

Thursday, July 27, 2023

Batch file to open VM via Bastion in firefox, in full screen mode without toolbars

Open notepad, copy past the following code, modify as needed, save as .bat file and run.

"C:\Program Files\Mozilla Firefox\firefox.exe" --kiosk https://portal.azure.com/#@[YourOrgUrl]/resource/subscriptions/[YourSubscriptionId]/resourceGroups/[YourResourceGroupName]/providers/Microsoft.Compute/virtualMachines/[YourVMName]/bastionHost