Lync Automated IM and Audio Call For Testing

REEDIT: Original Credit to http://blogs.technet.com/b/nexthop/archive/2011/05/05/sendim.aspx nexthop guys… I add the audio part which is not that hard 😉  Today I want to show you a script that will automate the testing of IM and Audio Calls. Think if you have critical systems that you need to know that the handsets re-registered properly after a system reboot…

0

Powershell - Lync Change Services to Automatic / Manual / Stop and Start before patching

This is acommon problem I have come across in an enterprise pool, when you drain andpatch and reboot one of the front end nodes the services will start again andusers will re-home to the server, but you may not be finish working with theserver and this leads to additional disruption for your end users. I…

1

Powershell - Lync Get All Users Last Registration Time From Front End

this takes doug’s concept (http://blogs.technet.com/b/dodeitte/archive/2011/05/11/how-to-get-the-last-time-a-user-registered-with-a-front-end.aspx)  and just runs it in powershell query and outputs the results to a text file to allow you to search its simple but effective 🙂   param ([parameter(mandatory=$true)] [string]$lyncsrvfqdn) $outputfile = “LyncUserLastLogon.txt”$outputdir = $env:Userprofile + “\Desktop”$output = $outputdir + “\” + $outputfile $SqlServer = $lyncsrvfqdn + “\RTCLOCAL”$SqlCatalog = “RTCDYN”$SqlQuery =…

4

Powershell Lync Export & Import Script for Users Contacts... for DR?

So if you want to export and import the contact information between to pools for DR here is 2 simple powershell scripts that will help. This will also move the users from the primary to the backup pool so the backup pool becomes their primary register you could include this as a larger DR script…

2

Powershell : Scan AD find users who's password are close to expiring and email them!

i was ask for this as an interim step for a customer who needs to save money! hopefully at some point they will have the money to buy an identity management system etc.. but hey sometimes we have to solve these particular needs here is the code none the less ################################################################################################################### Please Configure the following variables….$smtpServer=”smtpServerName”$expireindays…

7

Powershell - Automated Lync Deployment V1

If you need to deploy an environment this may help… the script should deploy the windows pre-reqs, the lync pre-reqs, the local management store, the role specifc stuff , request the certificate and assign it and start the services and install network monitor   you need to have the CMS built and a topology published…

2

Powershell - Mass Import and Enable Lync Users For EV

For my own reference 🙂 but feel free to use!   first create a file on your desktop called import.csv the format should be something like   firstname,lastname,samaccountname,phonenumber,extensionjohn,doe,jdoe,+35312791234,1234sean,test,test,+12312312312,1234   now copy the following script and name it whatever you want .ps1 🙂   and just run it!   ############################################################################################# import-module lync $path = $env:USERPROFILE +…

2

Lync Patching Guide v1.1

just updated the guide to 1.1   i have added devices and clients in…..   hope it is useful for you!     Patching Document For Lync Infrastructure V1.1.pdf

0

Powershell script - Synthetic transactions in Lync after a patch is deployed

here is the code… you need to run this on a front end server and this will test enterprise voice as well add / remove bits you feel you need…. 🙂       set-executionpolicy unrestrictedimport-module lync Write-host “This script will test some core functionality to ensure the main components are working”write-host “Please fill in…

5