• +91 9723535972
  • info@interviewmaterial.com

Microsoft Azure Interview Questions and Answers

Related Subjects

Question - How to export users from Azure Active Directory?

Answer -

You can export users from Azure AD by following the below-mentioned steps:

  • Install the Azure PowerShell module using the following cmdlet:
install-module az
  • To connect to Azure AD and Azure, run:
Connect-azaccount
  • To export, all users to a CSV file, run:
Get-AzADUser | export-csv file.csv
  • If you only need to export the first 10 users, then you can use:
Get-AzADUser -First 10 |  export-csv file.csv
  • To export all users after the first 2 users, you can use:
Get-AzADUser -Skip 2 | ft

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners