Skip to main content

Install-Patches

SYNOPSIS

Will install patches in the local patches folder.

SYNTAX

Install-Patches [[-ComputerName] <String[]>] [<CommonParameters>]

DESCRIPTION

Installes patches in the LocalPatches config setting path (default is C:\Patches.)

EXAMPLES

EXAMPLE 1

Install-Patches
Will install patches in the LocalPatches config setting path (default is C:\Patches.)

EXAMPLE 2

Install-Patches -ComputerName COMP1,COMP2
Will install patches in the LocalPatches config setting path (default is C:\Patches) on COMP1 and COMP2.

PARAMETERS

-ComputerName

Specifies the name of one or more computers to install patches on.

Type: String[]
Parameter Sets: (All)
Aliases: Host, Name, Computer, CN

Required: False
Position: 1
Default value: "$env:COMPUTERNAME"
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

None

NOTES

ALIASES

None.

PLATFORM APPLICABILITY

Windows only. The platform-aware loader does not export this command on Linux or macOS.

POWERSHELL COMPATIBILITY

See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.

https://docs.keldor.dev/powershell/keldor/Install-Patches