Articles → MICROSOFT AZURE → Find The Username Of The Linux Virtual Machine Using Powershell

Find The Username Of The Linux Virtual Machine Using Powershell






Steps




  1. Create a Linux virtual machine
  2. Connect to Azure using PowerShell
  3. Find username



Create A Linux Virtual Machine




Picture showing the Linux virtual machine created in Azure
Click to Enlarge


Connect To Azure Using Powershell





Find Username




Get-AZVM -Name vm1 | Select-Object -ExpandProperty OSProfile




Picture showing the Linux virtual machine admin user name
Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Sunday, July 10, 2022

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250