Register-CauPlugin
Registers a CAU software updating plug-in on the local computer.
Syntax
Register-CauPlugin
[-Path] <String>
[-WhatIf]
[-Confirm]
[<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 don't 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
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.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.ClusterAwareUpdating.CauPlugin
Related Links
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour