exam questions

Exam MS-102 All Questions

View all questions & answers for the MS-102 exam

Exam MS-102 topic 1 question 384 discussion

Actual exam question from Microsoft's MS-102
Question #: 384
Topic #: 1
[All MS-102 Questions]

HOTSPOT
-

You have a Microsoft 365 E5 subscription.

You need to use Microsoft Graph PowerShell to assign a Microsoft 365 E5 license to a new user named [email protected].

How should you complete the command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Shreekb27
1 week ago
Given answers are correct. ✅ Box 1: Get-MgSubscribedSku ✅ Box 2: Set-MgUserLicense $e5Sku = Get-MgSubscribedSku -All | Where-Object SkuPartNumber -eq 'SPE_E5' Set-MgUserLicense -UserId "[email protected]" -AddLicenses @{SkuId = $e5Sku.SkuId} -RemoveLicenses @()
upvoted 2 times
...
Frank_2022
1 week, 6 days ago
1, box one should be: Get-MgSubscription You are trying to get information about subscriptions, specifically to find the E5 SKU. The correct cmdlet for this is Get-MgSubscription. 2, box 2 is correct: Set-MgUserLicense
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...