Get-TcRouterInfo
SYNOPSIS
Gets the router status information of the specified target system.
SYNTAX
NetIdPort (Default)
Get-TcRouterInfo [[-NetId] <AmsNetId[]>] [-Timeout <Int32>] [-Count <Int32>] [-Delay <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Route
Get-TcRouterInfo [-InputObject] <IRoute[]> [-Timeout <Int32>] [-Count <Int32>] [-Delay <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
AddressStr
Get-TcRouterInfo [-Address] <String[]> [-Timeout <Int32>] [-Count <Int32>] [-Delay <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Session
Get-TcRouterInfo -Session <ISession[]> [-Timeout <Int32>] [-Count <Int32>] [-Delay <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
SessionId
Get-TcRouterInfo -SessionId <Int32[]> [-Timeout <Int32>] [-Count <Int32>] [-Delay <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
This Cmdlet gets status information from the specified target system.
To contact the target system, it must be available as actual route or must be the local system.
The status information contains the amout of overall router memory and the used memory.
Furthermore the number of active connections and the size of the actual router mailbox will be shown.
EXAMPLES
EXAMPLE 1
PS> Get-TcRouterInfo
Target Result TotalMem(kb) AvailMem(kb) Ports Drivers Transports Mailbox Size(kb) Mailbox Queue
------ ------ ------------- ------------- ----- ------- ---------- ----------------- -------------
CX_1234 Ok 32768 32759 31 4 11 0 0
Get router information from the local system.
PARAMETERS
-NetId
NetId(s) of the target system.
Type: AmsNetId[]
Parameter Sets: NetIdPort
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InputObject
The route object where to get the Target information from..
Type: IRoute[]
Parameter Sets: Route
Aliases: Destination, Route
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Address
Target names/addresses.
These can consist of RouteName, NetID, HostName or IPAddress.
Wildcards are permitted.
Type: String[]
Parameter Sets: AddressStr
Aliases: Name
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: True
-Session
The Session to use for the value read.
Type: ISession[]
Parameter Sets: Session
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-SessionId
Specifies the Session (with unique ID) to use for the value read.
Type: Int32[]
Parameter Sets: SessionId
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Timeout
The communication ADS timeout in milliseconds.
A value of 0 disables the timeout.
A value \<= 0 sets the Default (5000 ms).
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 2500
Accept pipeline input: False
Accept wildcard characters: False
-Count
Specifies the number of repeats for this Cmdlet (Default is 1).
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False
-Delay
The Delay in Seconds between repeated requests in Seconds (Default is 1s).
A delay of 0 Seconds means as fast as possible.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
TwinCAT.IRoute[]
The route object where to get the Target information from..
TwinCAT.ISession[]
The Session to use for the value read.