June 25th, 2014

PowerTip: Remove User from Lync Server 2013 with PowerShell

Doctor Scripto
Scripter

Summary: Learn how to use -whatif to safely remove a user from Lync Server 2013.

Hey, Scripting Guy! Question I need to remove users from Lync by using PowerShell, but I'm a bit nervous.
          Is there some kind of built-in test mode in Lync?

Hey, Scripting Guy! Answer Use the -whatif parameter when you disable the user to show what will happen
          without actually changing the system, for example:

Disable-CSUser –identity 'Zaphod Beeblebrox' –whatif

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback