Which command should you run?

Your company has a Microsoft 365 subscription.

Your plan to add 100 newly hired temporary users to the subscription next week.

You create the user accounts for the new users.

You need to assign licenses to the new users.

Which command should you run?

A)

B)

C)

D)

A . Option A
B. Option B
C. Option C
D. Option D

Answer: B

Explanation:

The first line gets all users from the Temp department that have a UsageLocation assigned and stores them in the $NewStaff variable. You cannot use PowerShell to assign a license to a user that does not have a UsageLocation configured.

The second line adds the licenses to each user in the $NewStaff variable.

Reference: https://docs.microsoft.com/en-us/office365/enterprise/powershell/assign-licenses-to-user-accounts-with-office-365-powershell

Latest MS-100 Dumps Valid Version with 297 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments