New-AzureRmServerManagementNode

Creates a Server Management node.

Syntax

New-AzureRmServerManagementNode
   [-ResourceGroupName] <String>
   [-GatewayName] <String>
   [-Location] <String>
   -NodeName <String>
   [-ComputerName <String>]
   -Credential <PSCredential>
   [-Tags <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
New-AzureRmServerManagementNode
   [-Gateway] <Gateway>
   -NodeName <String>
   [-ComputerName <String>]
   -Credential <PSCredential>
   [-Tags <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The New-AzureRmServerManagementNode cmdlet creates an Azure Server Management node.

Examples

1:

Required Parameters

-Credential

Specifies a PSCredential object for the connection to the Server Management Node. To obtain a credential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential.

Type:System.Management.Automation.PSCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Gateway

Specifies the gateway that manages the node.

This parameter can be used instead of the ResourceGroupName, GatewayName, and Location parameters.

Type:Microsoft.Azure.Commands.ServerManagement.Model.Gateway
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-GatewayName

Specifies the name of the gateway that accesses the node.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Location

Specifies the location in which this cmdlet creates the node.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-NodeName

Specifies the name of the node.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group in which this cmdlet creates the node.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-ComputerName

Specifies the computer name of the computer that is being managed.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Tags

Specifies tags as key-value pairs.

Type:Hashtable
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

Gateway

Parameter 'Gateway' accepts value of type 'Gateway' from the pipeline

Outputs

Microsoft.Azure.Commands.ServerManagement.Model.Node