Skip to content
This repository was archived by the owner on Sep 5, 2020. It is now read-only.

Latest commit

 

History

History
54 lines (36 loc) · 1.33 KB

File metadata and controls

54 lines (36 loc) · 1.33 KB

Get-ICXSession

Get a Brocade ICX session.

Description

Get one or multiple Brocade ICX sessions based on SessionID or ComputerName.

Screenshot

Syntax

Get-ICXSession [<CommonParameters>]

Get-ICXSession [-SessionID] <Int32[]> [<CommonParameters>]

Get-ICXSession [-ComputerName] <String[]> [[-CaseSensitive]] [<CommonParameters>]

Example 1

PS> Get-ICXSession -SessionID 1, 2   

SessionID ComputerName AccessMode
--------- ------------ ----------
        1 MEGATRON     Privileged
        2 megatron     Config

Example 2

PS> Get-ICXSession -ComputerName MEGATRON | Select-Object * | Format-Table

SessionID ComputerName AccessMode Session        Stream
--------- ------------ ---------- -------        ------
        0 megatron     Privileged SSH.SshSession Renci.SshNet.ShellStream
        1 MEGATRON     Privileged SSH.SshSession Renci.SshNet.ShellStream
        2 megatron     Config     SSH.SshSession Renci.SshNet.ShellStream

Example 3

PS> Get-ICXSession -ComputerName MEGATRON -CaseSensitive

SessionID ComputerName AccessMode
--------- ------------ ----------
        1 MEGATRON     Privileged