Lync User Disable Script with Scheduled Task

Lync User Disable Script with Scheduled Task

import-module ‘C:\Program Files\Common Files\Microsoft Lync Server 2010\Modules\Lync\Lync.psd1’
Get-CsUser -OU “OU=xyz,DC=domain,DC=xyzt,DC=com”|Disable-CsUser

Add a Comment

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