Remove-​Azure​Rm​Server​Management​Session

Removes a Server Management session.

Syntax

Remove-AzureRmServerManagementSession
      [-ResourceGroupName] <String>
      [-NodeName] <String>
      [-SessionName] <String>
      [-InformationAction <ActionPreference>]
      [-InformationVariable <String>]
      [<CommonParameters>]
Remove-AzureRmServerManagementSession
      [-Session] <Session>
      [[-SessionName] <String>]
      [-InformationAction <ActionPreference>]
      [-InformationVariable <String>]
      [<CommonParameters>]

Description

The Remove-AzureRmServerManagementSession cmdlet removes an Azure Server Management session.

Examples

1:

Required Parameters

-NodeName

Specifies the name of the node on which this cmdlet removes the session.

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

Specifies the name of the resource group that the session belongs to.

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

Specifies the session that this cmdlet removes.This parameter may be used instead of the ResourceGroupName, NodeName and 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 that this cmdlet removes.

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