Which Windows PowerShell command should you run?

A company migrates to Office 365. 2,000 active users have valid Office 365 licenses assigned.
An additional 5,000 user accounts were created during the migration and testing processes. These
users do not have any licenses assigned.
You need to remove the Office 365 user accounts that do not have any licenses assigned by using
the least amount of administrative effort.
Which Windows PowerShell command should you run?

A company migrates to Office 365. 2,000 active users have valid Office 365 licenses assigned.
An additional 5,000 user accounts were created during the migration and testing processes. These
users do not have any licenses assigned.
You need to remove the Office 365 user accounts that do not have any licenses assigned by using
the least amount of administrative effort.
Which Windows PowerShell command should you run?

A.
Get-MsolUser -All -EnabledFilter “DisabledOnly” | Remove-MsolUser -Force

B.
Get-MsolUser-EnabledFilter “DisabledOnly” | Remove-MsolUser -Force

C.
Get-MsolUser -All -UnlicensedUsersOnly | Remove-MsolUser -Force

D.
Get-MsolUser -UnlicensedUsersOnly | Remove-MsolUser–Force

Explanation:
http://technet.microsoft.com/en-us/library/dn194133.aspx



Leave a Reply 20

Your email address will not be published. Required fields are marked *


surya

surya

Just passed using Guide4certs dumps i scored 800/1000

kc

kc

can you please share the dump. i tried the exam couple of weeks back and failed by 16 marks. Please help

surya

surya

tr.im/70-346

Dnt91

Smith

Smith

I would go with D.
In the same article that you’ve referred to it is mentioned that you can also use:

Get-MsolUser -UnlicensedUsersOnly

By avoiding the -All param (as per option C which is also correct) option D is considered the solution with the least amount of administrative effort.

Smith

Smith

On the other hand Remove-MsolUser-Force doesn’t have a space between the cmdlet and the param -Force. Indeed C seems to be the correct answer here.

Jasker

Jasker

Just passed. Also case studies now. some new questions. Recommend study reports, study admin groups. For instance: can a Sharepoint administrator create mailboxes? A user management administrator can do the following in Exchange: Administrator, view-only administrator, nothing. Same for Sharepoint and Skype.

Dan

Dan

Hi Jasker, what was your response to this question?

rajasoal

rajasoal

Is there any update on this exam please 70-346 – Managing Office 365 Identities and Requirements ?

I’m planning to take it next month.

It would be greatly appreciated if anyone can send it to my email address: [email protected]

Thanks.

visitdemo

visitdemo

Kindly share the latest dump with me. I am writing the exam this week Friday [email protected]

Pleaseeeeee

Jan Bijker

Jan Bijker

Finally passed 70-346 exam!!!

The 70-346 exam is separated in 3 sections now. Total 56 questions.

Section 1 — Fabricam Case Study, 8 questions.

Section 2 — 44 normal questions.

Section 3 — 4 Yes/No questions.

Learned all questions from PassLeader 70-346 dumps, and PassLeader has corrected its answers, 100% valid now!

p.s. Here are part of free PassLeader 70-346 dumps: https://doc.co/sFn6M5

Good Luck!!!

kc

kc

can you please share the dump. i tried the exam couple of weeks back and failed by 16 marks. Please help

trol

trol

Is this dump still valid?

Ali Saqib

Ali Saqib

Can someone please share the latest dumps of 70-346 to [email protected].

I need to appear for the exams as soon as possible.