< Back
Compare-AutomateControlStatus
Post
NAME Compare-AutomateControlStatus
SYNOPSIS
Compares Automate Online Status with Control, and outputs all machines online in Control and not in Automate
SYNTAX
Compare-AutomateControlStatus [[-ComputerObject] <Object>] [-AllResults] [-Quiet] [<CommonParameters>]
DESCRIPTION
Compares Automate Online Status with Control, and outputs all machines online in Control and not in Automate
PARAMETERS
-ComputerObject <Object>
Can be taken from the pipeline in the form of Get-AutomateComputer -ComputerID 5 |
Compare-AutomateControlStatus
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-AllResults [<SwitchParameter>]
Instead of outputting a comparison it outputs everything, which include two columns indicating online status
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Quiet [<SwitchParameter>]
Doesn't output any log messages
Required? false
Position? named
Default value False
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
An object containing Online status for Control and Automate
NOTES
Version: 1.4
Author: Gavin Stone
Creation Date: 20/01/2019
Purpose/Change: Initial script development
Update Date: 2019-02-23
Author: Darren White
Purpose/Change: Added SessionID parameter to Get-ControlSessions call.
Update Date: 2019-02-26
Author: Darren White
Purpose/Change: Reuse incoming object to preserve properties passed on the pipeline.
Update Date: 2019-06-24
Author: Darren White
Purpose/Change: Update to use objects returned by Get-ControlSessions
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-AutomateComputer -ComputerID 5 | Compare-AutomateControlStatus
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-AutomateComputer -Online $False | Compare-AutomateControlStatus
RELATED LINKS
SYNOPSIS
Compares Automate Online Status with Control, and outputs all machines online in Control and not in Automate
SYNTAX
Compare-AutomateControlStatus [[-ComputerObject] <Object>] [-AllResults] [-Quiet] [<CommonParameters>]
DESCRIPTION
Compares Automate Online Status with Control, and outputs all machines online in Control and not in Automate
PARAMETERS
-ComputerObject <Object>
Can be taken from the pipeline in the form of Get-AutomateComputer -ComputerID 5 |
Compare-AutomateControlStatus
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-AllResults [<SwitchParameter>]
Instead of outputting a comparison it outputs everything, which include two columns indicating online status
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Quiet [<SwitchParameter>]
Doesn't output any log messages
Required? false
Position? named
Default value False
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
An object containing Online status for Control and Automate
NOTES
Version: 1.4
Author: Gavin Stone
Creation Date: 20/01/2019
Purpose/Change: Initial script development
Update Date: 2019-02-23
Author: Darren White
Purpose/Change: Added SessionID parameter to Get-ControlSessions call.
Update Date: 2019-02-26
Author: Darren White
Purpose/Change: Reuse incoming object to preserve properties passed on the pipeline.
Update Date: 2019-06-24
Author: Darren White
Purpose/Change: Update to use objects returned by Get-ControlSessions
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-AutomateComputer -ComputerID 5 | Compare-AutomateControlStatus
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-AutomateComputer -Online $False | Compare-AutomateControlStatus
RELATED LINKS