Get-AzureRmServerManagementSession

Gets a Server Management session.

Syntax

Get-AzureRmServerManagementSession
   [-ResourceGroupName] <String>
   [-NodeName] <String>
   [-SessionName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmServerManagementSession
   [[-SessionName] <String>]
   [-Session] <Session>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmServerManagementSession
   [-Node] <Node>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzureRmServerManagementSession cmdlet gets a single Azure Server Management session.

Examples

1:

Required Parameters

-Node

Specifies an existing Node object that is used to get the ResourceGroupName and the NodeName parameters. You must also specify a value for the SessionName parameter.

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

Specifies the name of the node where the session is located.

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

Specifies the name of the resource group for which this cmdlet gets the retrieve the session.

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

Specifies an existing Session object that is used to get the ResourceGroupName, the NodeName, and the SessionName parameters.

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

Specifies the name of the session in which this cmdlet gets.

Type:String
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-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

Inputs

Node

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

Inputs

Session

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

Outputs

Microsoft.Azure.Commands.ServerManagement.Model.Session