< Back

Get-AMConsoleOutput

Sat Jan 11, 2020 2:37 am

NAME Get-AMConsoleOutput



SYNOPSIS

Gets AutoMate Enterprise console output.





SYNTAX

Get-AMConsoleOutput [[-MaxItems] <Int32>] [[-PollIntervalSeconds] <Int32>] [[-SuccessTextColor] {Black | DarkBlue

| DarkGreen | DarkCyan | DarkRed | DarkMagenta | DarkYellow | Gray | DarkGray | Blue | Green | Cyan | Red |

Magenta | Yellow | White}] [[-FailureTextColor] {Black | DarkBlue | DarkGreen | DarkCyan | DarkRed | DarkMagenta |

DarkYellow | Gray | DarkGray | Blue | Green | Cyan | Red | Magenta | Yellow | White}] [[-SuccessBackgroundColor]

{Black | DarkBlue | DarkGreen | DarkCyan | DarkRed | DarkMagenta | DarkYellow | Gray | DarkGray | Blue | Green |

Cyan | Red | Magenta | Yellow | White}] [[-FailureBackgroundColor] {Black | DarkBlue | DarkGreen | DarkCyan |

DarkRed | DarkMagenta | DarkYellow | Gray | DarkGray | Blue | Green | Cyan | Red | Magenta | Yellow | White}]

[[-Connection] <Object>] [<CommonParameters>]





DESCRIPTION

Get-AMConsoleOutput gets the console output.





PARAMETERS

-MaxItems <Int32>

The maximum number of events in the console output to retrieve.



Required? false

Position? 1

Default value 20

Accept pipeline input? false

Accept wildcard characters? false



-PollIntervalSeconds <Int32>

The number of seconds to wait between polls. Specifying this parameter enables polling until cancelled by the

user with Ctrl + C.



Required? false

Position? 2

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-SuccessTextColor

The text color to output success messages.



Required? false

Position? 3

Default value White

Accept pipeline input? false

Accept wildcard characters? false



-FailureTextColor

The text color to output failure messages.



Required? false

Position? 4

Default value Red

Accept pipeline input? false

Accept wildcard characters? false



-SuccessBackgroundColor

The background color to output success messages.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-FailureBackgroundColor

The background color to output failure messages.



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Connection <Object>

The AutoMate Enterprise management server.



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\># Get console output from server "AM01"



Get-AMConsoleOutput -Connection "AM01"











RELATED LINKS

https://github.com/AutomatePS/AutomatePS