< Back

Set-AzureRmVmssVM

Tue Jan 29, 2019 9:40 pm

NAME Set-AzureRmVmssVM



SYNOPSIS

Modifies the state of a VMSS instance.





SYNTAX

Set-AzureRmVmssVM [-ResourceGroupName] <String> [-VMScaleSetName] <String> [-InstanceId] <String> [-AsJob] [-DefaultProfile

<IAzureContextContainer>] -Reimage [-Confirm] [-WhatIf] [<CommonParameters>]



Set-AzureRmVmssVM [-ResourceGroupName] <String> [-VMScaleSetName] <String> [-InstanceId] <String> [-AsJob] [-DefaultProfile

<IAzureContextContainer>] -ReimageAll [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Set-AzureRmVmssVM cmdlet modifies the state of a Virtual Machine Scale Set (VMSS) instance.





PARAMETERS

-AsJob [<SwitchParameter>]

Run cmdlet in the background



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InstanceId <String>

Specifies the ID of the VMSS instance for which this cmdlet modifies state.



Required? true

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Reimage [<SwitchParameter>]

Indicates that this cmdlet reimages the VMSS instance.



Required? true

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ReimageAll [<SwitchParameter>]

Indicates that the cmdlet reimages all the disks in the VMSS instance.



Required? true

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group that contains the VMSS instance.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-VMScaleSetName <String>

Specifies the name of the VMSS instance that this cmdlet modifies.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

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



Required? false

Position? named

Default value False

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Compute.Automation.Models.PSOperationStatusResponse







NOTES











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... rermvmssvm

Get-AzureRmVmssVMDiskEncryption