Powershell Script to find Active Directory Disabled accounts but Lync Enabled

  Hi Readers,Sharing a script that I  have written for Lync . Disabling AD accounts does not automatically disable Lync Accounts. If Lync Accounts have External access they Can Still Login into Lync from outside Environment as Lync uses certificate authentications and thes

436 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook
  • i also want to disable Enterprise voice
    1 Posts | Last post January 12, 2016
    • Before disable lync, I want to disable Enterprise voice. How can I fetch the report  another column on same sheet for Enterprise voice is enable or not.   
  • "failed because the shell was not found on"
    1 Posts | Last post January 11, 2016
    • I can't seem to get it to run.  Keeps erroring out with the message below.  I'm running the script from a front end server under admin privs.
      Transcript started, output file is .\Logs\Powershell1-11-2016_10-09AM_.txt
      Starting a command on the remote server failed with the following error 
      message : The request for the Windows Remote Shell with ShellId 
      F1AA1E60-C283-4A0A-A085-2D913388E688 failed because the shell was not found on 
      the server. Possible causes are: the specified ShellId is incorrect or the 
      shell no longer exists on the server. Provide the correct ShellId or create a 
      new shell and retry the operation. For more information, see the 
      about_Remote_Troubleshooting Help topic.
          + CategoryInfo          : OperationStopped: (CompanyPoolName.CompanyName.com:String)  
         [], PSRemotingTransportException
          + FullyQualifiedErrorId : JobFailure
          + PSComputerName        : CompanyPoolName.CompanyName.com
      Windows PowerShell transcript end
      End time: 20160111100920