< Back
Start-AzureVM
Post
NAME Start-AzureVM
SYNOPSIS
Starts an Azure virtual machine.
SYNTAX
Start-AzureVM [-ServiceName] <String> [-Name] <String[]> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable
<String>] [<CommonParameters>]
Start-AzureVM [-ServiceName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] -VM
<IPersistentVM[]> [<CommonParameters>]
DESCRIPTION
The Start-AzureVM cmdlet requests the start of an Azure virtual machine.
PARAMETERS
-Name <String[]>
Specifies the name of the virtual machine to start.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ServiceName <String>
Specifies the name of the Azure service that contains the virtual machine to start.
Required? true
Position? 0
Default value None
Accept pipeline input? True (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
-VM <IPersistentVM[]>
Specifies a virtual machine object that identifies the virtual machine to start.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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: Start a virtual machine --------------------------
PS C:\\>Start-AzureVM -ServiceName "ContosoService03" -Name "VirtualMachine04"
This command starts the virtual machine named VirtualMachine04 that runs in the Azure service named ContosoService03.
-------------------------- Example 2: Start a virtual machine by using a virtual machine object --------------------------
PS C:\\>Get-AzureVM -ServiceName "ContosoService03" -Name "DatabaseServer" | Start-AzureVM
This command retrieves the virtual machine object for the virtual machine whose name is DatabaseServer, and then requests to start it.
RELATED LINKS
Get-AzureVM
Remove-AzureVM
Restart-AzureVM
Stop-AzureVM
Update-AzureVM
SYNOPSIS
Starts an Azure virtual machine.
SYNTAX
Start-AzureVM [-ServiceName] <String> [-Name] <String[]> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable
<String>] [<CommonParameters>]
Start-AzureVM [-ServiceName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] -VM
<IPersistentVM[]> [<CommonParameters>]
DESCRIPTION
The Start-AzureVM cmdlet requests the start of an Azure virtual machine.
PARAMETERS
-Name <String[]>
Specifies the name of the virtual machine to start.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ServiceName <String>
Specifies the name of the Azure service that contains the virtual machine to start.
Required? true
Position? 0
Default value None
Accept pipeline input? True (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
-VM <IPersistentVM[]>
Specifies a virtual machine object that identifies the virtual machine to start.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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: Start a virtual machine --------------------------
PS C:\\>Start-AzureVM -ServiceName "ContosoService03" -Name "VirtualMachine04"
This command starts the virtual machine named VirtualMachine04 that runs in the Azure service named ContosoService03.
-------------------------- Example 2: Start a virtual machine by using a virtual machine object --------------------------
PS C:\\>Get-AzureVM -ServiceName "ContosoService03" -Name "DatabaseServer" | Start-AzureVM
This command retrieves the virtual machine object for the virtual machine whose name is DatabaseServer, and then requests to start it.
RELATED LINKS
Get-AzureVM
Remove-AzureVM
Restart-AzureVM
Stop-AzureVM
Update-AzureVM