Yearly Archives: 2020


WMI filters to target sites and non Domain Controllers

Designing Group Policy Objects is sometimes tricky. Let’s review some useful WMI filters in Group Policy Objects for sites and domain controllers inclusion or exclusion. When linking Group Policy Objects, you are always bound to the LSDOU rule, which means that GPOs are processed in the following order: L for […]

WMI filter To select non domain controllers

Windows Internal Database Connection String Windows 2012R2 2016

How to connect to a Windows Internal Database WID such as WSUS

The Windows Internal Database is nothing more than an embedded lite SQL Server instance running under specific credentials and with a few protocols enabled. Therefore in order to connect, you can use any SQL Server client tool: SQL Server Management Studio, SQLCMD, … Starting with Windows Server 2012, the named […]


Publishing certificates in the Active Directory

Deploying certificates and CRL in a domain or a forest in an automated fashion can done using GPO like many other settings. However a less well-known possibility is to use the certutil -dspublish command. Let’s review how it works. When using that option, certificates are stored in one of the […]

ADSI Edit PKI tree

Install-Module fails with Source Location https://www.powershellgallery.com/api/v2/package/xxx is not valid

The use of Install-Module and Update-Module has become a routine task for many Powershell administrators these days. Lately if you applied those commands, you may have received warnings and errors even from well-known sources. Messages include: If you look at the resource or the web site, the package stills exists […]