Register-CauPlugin

Registers a CAU software updating plug-in on the local computer.

Syntax

Register-CauPlugin
        [-Path] <String>
        [-Confirm]
        [-WhatIf]
        [<CommonParameters>]

Description

The Register-CauPlugin cmdlet registers a Cluster-Aware Updating (CAU) software updating plug-in on the local computer.

CAU always uses a plug-in when performing updates, although you do not need to register a plug-in because CAU uses the Microsoft.WindowsUpdatePlugin plug-in by default. This plug-in communicates with the Windows Update Agent software resident on each node, the same software that is used when updates are downloaded from Windows Update or Microsoft Update, or from a Windows Server Update Services (WSUS) server. For more information about how plug-ins work in CAU, see How CAU Plug-ins Work.

Examples

Example 1: Register a specific plug-in located in the specified folder

PS C:\> Register-CauPlugin -Path "C:\PluginDevelopment\Plugin01.dll" -Force

The command registers a plug-in called Plugin01.dll located in the C:\PluginDevelopment folder. Because the command specifies the Force parameter, the cmdlet runs without displaying confirmation prompts.

Required Parameters

-Path

Specifies the path to the binary that implements the plug-in. Classes that implement the plug-in interface and are decorated with the plug-in attribute, are discovered through reflection and registered.

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.ClusterAwareUpdating.CauPlugin