Add all Skype for Business Online Users to AD group

We had a requirement to Add all Skype for Business Online users to Active directory group on daily basis. This is required because we want to implement a Group Policy for ALL Skype for Business Online users but not  for on-premise Lync users. Our environment is Hybrid and Migration is in progress. Script will run daily and compare the…

Advertisements

PowerShell TIP – Exception calling “DownloadString” with “1” argument(s)

Sharing the recent issues that we have faced with some of our older scripts that reads/download XML using System.Net.WebClient and report on system health status.(Ironport) All the scripts suddenly started throwing below error: Exception calling “DownloadString” with “1” argument(s): “The underlying connection was closed: An unexpected error occurred on a send.” On researching on internet…

TIP – Reset Windows 10 to Factory Defaults

I got the new laptop and need to sell out my old windows 10 Laptop. Before selling it, I wanted to reset it to factory defaults and wipe out everything, off-course I have already backed up all the important documents. To my surprise its very simple and not like the older times where we rely…