Skip to content

Function Hotfix

Chris Hunt edited this page May 23, 2016 · 1 revision

Hotfix

SYNOPSIS

Test if a Hotfix is installed.

DESCRIPTION

Test if a Hotfix is installed.

PARAMETERS

Target [String]

[Parameter(
  Mandatory = $true,
  Position = 2,
  ParameterSetName = 'Set 1')]

Should [ScriptBlock]

[Parameter(
  Mandatory = $true,
  Position = 3,
  ParameterSetName = 'Set 1')]

Assertions

BeNullOrEmpty

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

Hotfix KB3116900 { Should Not BeNullOrEmpty}

-------------------------- EXAMPLE 2 --------------------------

Hotfix KB1112233 { Should BeNullOrEmpty}