< Back
New-AzureRmServerManagementSession
Post
NAME New-AzureRmServerManagementSession
SYNOPSIS
Creates a Server Management session.
SYNTAX
New-AzureRmServerManagementSession [-Node] <Node> [-Credential <PSCredential>] [-DefaultProfile <IAzureContextContainer>] [-SessionName <String>]
[<CommonParameters>]
New-AzureRmServerManagementSession [-ResourceGroupName] <String> [-NodeName] <String> [-Credential <PSCredential>] [-DefaultProfile
<IAzureContextContainer>] [-SessionName <String>] [<CommonParameters>]
DESCRIPTION
The New-AzureRmServerManagementSession cmdlet creates an Azure Server Management session.
PARAMETERS
-Credential <PSCredential>
Specifies a PSCredential object for the connection to the Server Management Session. To obtain a credential object, use the Get-Credential
cmdlet. For more information, type `Get-Help Get-Credential`.
Required? false
Position? named
Default value None
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
-Node <Node>
Specifies the node for which this cmdlet creates the session on.
This parameter may be used instead of the ResourceGroupName and NodeName parameters.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-NodeName <String>
Specifies the name of the node for which this cmdlet creates a session.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the resource group of the node that this cmdlet creates a session for.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-SessionName <String>
Specifies the name to use for the session.
Required? false
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Node
Parameter 'Node' accepts value of type 'Node' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.ServerManagement.Model.Session
NOTES
1:
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... entsession
SYNOPSIS
Creates a Server Management session.
SYNTAX
New-AzureRmServerManagementSession [-Node] <Node> [-Credential <PSCredential>] [-DefaultProfile <IAzureContextContainer>] [-SessionName <String>]
[<CommonParameters>]
New-AzureRmServerManagementSession [-ResourceGroupName] <String> [-NodeName] <String> [-Credential <PSCredential>] [-DefaultProfile
<IAzureContextContainer>] [-SessionName <String>] [<CommonParameters>]
DESCRIPTION
The New-AzureRmServerManagementSession cmdlet creates an Azure Server Management session.
PARAMETERS
-Credential <PSCredential>
Specifies a PSCredential object for the connection to the Server Management Session. To obtain a credential object, use the Get-Credential
cmdlet. For more information, type `Get-Help Get-Credential`.
Required? false
Position? named
Default value None
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
-Node <Node>
Specifies the node for which this cmdlet creates the session on.
This parameter may be used instead of the ResourceGroupName and NodeName parameters.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-NodeName <String>
Specifies the name of the node for which this cmdlet creates a session.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the resource group of the node that this cmdlet creates a session for.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-SessionName <String>
Specifies the name to use for the session.
Required? false
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Node
Parameter 'Node' accepts value of type 'Node' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.ServerManagement.Model.Session
NOTES
1:
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... entsession