Powershell Posts

Patching Lync & Skype for Business

When patching Lync & Skype for Business, beekeeper has a validation pack that contains PowerShell scripts to remove a system from service. Once its out of service, patching can take place. These pre-patching PowerShell validation tasks include: Verifying a server can be removed from service using the Get-CSPoolUpdateReadiness cmdlet Testing whether there are any active […]

SCCM PowerShell One-Liners

List outstanding software updates targeted at a remote client:

List outstanding applications targeted at a remote client:

Invoke Application Deployment Evaluation to a remote client:

[Invoke Machine Policy Retrieval and Evaluation to a remote client:

Invoke Software Update Deployment Evaluation to a remote client:

Invoke Software Update Scan:

Invoke […]

Get-SCOMManagementPacks 4.4

I’ve just released the latest version of this script you can find at GitHub. There is just a small fix provided by Lynne Taggart in this release. Basically Microsoft changed the layout of their download page once again so we needed a slightly different logic to pull the MP version and publish date information.

Free E-book: Inside #MSOMS v2 now available

It took us some time but we’ve managed to update the one and only free OMS book. We had plans to release it earlier but unforeseen things has happened which prevented us to do it earlier. I hope you will understand but you will still enjoy it. The other authors and me put a lot […]

Reserved Common Fields in Log Analytics

I’ve recently been playing with some solution development and I’ve noticed something interesting. When we are using the OMS Data Collector API we send data by creating json file. That json file is in simple format like this:

In this pseudo code property is the name of our fields. So when the data is […]

Moving Update Worker Server between OMS Workspaces

Recently I’ve been fairly occupied in writing the second edition of Inside Microsoft Operations Management Suite book but now that I’ve finished my chapters I can go back to writing some blog posts. Update Workers are like Hybrid Workers but they are automatically registered by the Update Management solution. This creates a problem because there […]

How To Disable Azure AD Connect

As of today, there is no way to disable Azure AD Connect via the Azure Resource Manager (ARM) portal, but this can be done with some PowerShell. If you take a look at the ARM portal, there is no option to currently disable the directory synchronization. First, you will need to install the Azure Active […]