In the terminal window, you can choose any shell that's installed on your system. For example, you can choose Git Bash, or PowerShell, or another shell. Here you'll use Git Bash, part of Git for Windows, which makes it easy to run Git commands. Note On Windows, if you don't see...
Azure PowerShell Copy $cred = Get-Credential Run the following command to create a public IP address to use to connect to the virtual machine: Azure PowerShell Copy New-AzPublicIpAddress ` -Name 'myPublicIP' ` -ResourceGroupName $resourceGroup ` -Location 'eastus' ...
In this exercise, you'll create an Azure Automation account and upload a PowerShell DSC. Then, you'll onboard an existing VM into Azure Automation. Finally, you'll check if the VM is missing IIS. If it is, you'll run code to install and configure IIS on the VM....
To create the test environment's resource group and grant the workload identity access to it, run the following Azure PowerShell commands in the Visual Studio Code terminal: Azure PowerShell Copy $testResourceGroup = New-AzResourceGroup -Name ToyWebsiteTest -Locati...
Azure PowerShell $cred=Get-Credential Run the following command to create a public IP address to use to connect to the virtual machine: Azure PowerShell New-AzPublicIpAddress`-Name'myPublicIP'`-ResourceGroupName$resourceGroup`-Location'eastus'`-AllocationMethodStatic `-SkuSt...
In the terminal window, you can choose any shell that's installed on your system. For example, you can choose Git Bash, or PowerShell, or another shell. Here you'll use Git Bash, part of Git for Windows, which makes it easy to run Git commands. Note On Windows, if you don't s...
In the terminal window, you can choose any shell that's installed on your system. For example, you can choose Git Bash, or PowerShell, or another shell. Here you'll use Git Bash, part of Git for Windows, which makes it easy to run Git commands. Note On Windows, if you don'...
In the terminal window, you can choose any shell that's installed on your system. For example, you can choose Git Bash, or PowerShell, or another shell. Here you'll use Git Bash, part of Git for Windows, which makes it easy to run Git commands. ...
In the terminal window, you can choose any shell that's installed on your system. For example, you can choose Git Bash, or PowerShell, or another shell. Here you'll use Git Bash, part of Git for Windows, which makes it easy to run Git commands. Note On Windows, if you do...
In the terminal window, you can choose any shell that's installed on your system. For example, you can choose Git Bash, or PowerShell, or another shell. Here you'll use Git Bash, part of Git for Windows, which makes it easy to run Git commands. Note On Windows, if you don't se...