Articles → MICROSOFT AZURE → Find The Username Of The Linux Virtual Machine Using Powershell
Find The Username Of The Linux Virtual Machine Using Powershell
Steps
- Create a Linux virtual machine
- Connect to Azure using PowerShell
- Find username
Create A Linux Virtual Machine
Click to Enlarge
Connect To Azure Using Powershell
Find Username
Get-AZVM -Name vm1 | Select-Object -ExpandProperty OSProfile
Click to Enlarge