Invoke-WebRequest under the System Account

Invoke-WebRequest is a versatile Powershell CmdLet. However the way it works behind the scene creates sometimes strange behaviors. As you may aware the HTML parser engine greatly depends on system components and Web Browser such as Internet Explorer. A consequence of such a “design”, is that even on Windows Server […]

Invoke-Web-Request -UseBasicParsing -Uril http://docs.microsoft.com

logos oracle et azure

Oracle Cloud vs. Azure resource Vocabulary

For those who operate on multiple clouds, or prepare certifications such as “Oracle Cloud Infrastructure Certified Architect Associate“, “Oracle Cloud Infrastructure Certified Architect Professional“, “Azure Administrator Associate“, “Azure Solutions Architect Expert” you’ll find below a table which compares Oracle Cloud Infrastructure and Azure resource names Domain Oracle Azure Virtual Network […]

Get-ADDomainController, Get-ADUser, Get-ADComputer, Get-ADObject: A referral was returned from the server 1

When you are using Active Directory Powershell cmdlets such as Get-ADDomainController, Get-ADUser, Get-ADComputer, Get-ADObject, you may receive the following error message: Such an exception is linked to the difficulty those commands have to work in a multi-domain environment, whether that multi-domain be a single forest with multiple child domains, various […]

WMI filter To select non domain controllers

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 […]

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 […]

Windows Internal Database Connection String Windows 2012R2 2016

ADSI Edit PKI tree

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 […]