Skip to content

Instantly share code, notes, and snippets.

View HolgerLutz's full-sized avatar

Holger Lutz HolgerLutz

  • Microsoft Corporation
  • Germany
View GitHub Profile
@HolgerLutz
HolgerLutz / SharePoint2019Prerequisites.Tests.ps1
Created September 17, 2021 07:16 — forked from joerodgers/SharePoint2019Prerequisites.Tests.ps1
Example Pester Test that checks if all the mandatory prerequisites are installed on a list of servers.
function Test-ProductInstalled
{
[cmdletbinding()]
param
(
[parameter(Mandatory=$true)]
[string]$ComputerName,
[parameter(Mandatory=$true)]
[string]$ProductName