Get-​Azure​Rm​Server​Management​Session

Gets a Server Management session.

Syntax

Get-AzureRmServerManagementSession
   [-ResourceGroupName] <String>
   [-NodeName] <String>
   [-SessionName] <String>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [<CommonParameters>]
Get-AzureRmServerManagementSession
   [-Session] <Session>
   [[-SessionName] <String>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [<CommonParameters>]
Get-AzureRmServerManagementSession
   [-Node] <Node>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [<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: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: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

-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False