< Back
Set-AzureVMPuppetExtension
Post
NAME Set-AzureVMPuppetExtension
SYNOPSIS
Sets the Puppet extension for a virtual machine.
SYNTAX
Set-AzureVMPuppetExtension [-PuppetMasterServer] <String> [[-Version] <String>] [[-Disable]] [[-ReferenceName] <String>] -VM <IPersistentVM> [-Profile
<AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Set-AzureVMPuppetExtension cmdlet sets the Puppet extension for a virtual machine.
PARAMETERS
-PuppetMasterServer <String>
Specifies the fully qualified domain name (FQDN) of puppet master server.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Version <String>
Specifies the extension version.
Required? false
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Disable [<SwitchParameter>]
Indicates that this cmdlet disables the extension state.
Required? false
Position? 3
Default value False
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ReferenceName <String>
Specifies the reference name of the extension.
This is a user-defined string that is used to refer to an extension. It is specified when the extension is added to the virtual machine for the
first time. For subsequent updates, you need to specify the previously used reference name when you update the extension. The ReferenceName assigned
to an extension is returned using the Get-AzureVM cmdlet.
Required? false
Position? 6
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-VM <IPersistentVM>
Specifies the persistent virtual machine object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue, ByPropertyName)
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- Example 1: Set the Puppet extension for a virtual machine --------------------------
PS C:\\>Set-AzureVMPuppetExtension -VM $VM
This example sets the Puppet extension for the specified virtual machine as stored in the variable $VM.
RELATED LINKS
Get-AzureVM
SYNOPSIS
Sets the Puppet extension for a virtual machine.
SYNTAX
Set-AzureVMPuppetExtension [-PuppetMasterServer] <String> [[-Version] <String>] [[-Disable]] [[-ReferenceName] <String>] -VM <IPersistentVM> [-Profile
<AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Set-AzureVMPuppetExtension cmdlet sets the Puppet extension for a virtual machine.
PARAMETERS
-PuppetMasterServer <String>
Specifies the fully qualified domain name (FQDN) of puppet master server.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Version <String>
Specifies the extension version.
Required? false
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Disable [<SwitchParameter>]
Indicates that this cmdlet disables the extension state.
Required? false
Position? 3
Default value False
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ReferenceName <String>
Specifies the reference name of the extension.
This is a user-defined string that is used to refer to an extension. It is specified when the extension is added to the virtual machine for the
first time. For subsequent updates, you need to specify the previously used reference name when you update the extension. The ReferenceName assigned
to an extension is returned using the Get-AzureVM cmdlet.
Required? false
Position? 6
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-VM <IPersistentVM>
Specifies the persistent virtual machine object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue, ByPropertyName)
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- Example 1: Set the Puppet extension for a virtual machine --------------------------
PS C:\\>Set-AzureVMPuppetExtension -VM $VM
This example sets the Puppet extension for the specified virtual machine as stored in the variable $VM.
RELATED LINKS
Get-AzureVM