PowerTip: Remove User from Lync Server 2013 with PowerShell

Doctor Scripto

Dr Scripto

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

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   


    Leave a comment