< Back
Get-omsAgent
Post
NAME Get-omsAgent
SYNOPSIS
Gets OMS workspace details from remote computers
SYNTAX
Get-omsAgent [[-computerName] <String[]>] [-Credential <PSCredential>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-computerName <String[]>
Required? false
Position? 1
Default value $env:COMPUTERNAME
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Credential <PSCredential>
Required? false
Position? named
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
omsAgent
NOTES
Written by Ben Taylor
Version 1.1, 08.02.2016
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-omsAgent -computerName 'computer1', 'computer2'
RELATED LINKS
SYNOPSIS
Gets OMS workspace details from remote computers
SYNTAX
Get-omsAgent [[-computerName] <String[]>] [-Credential <PSCredential>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-computerName <String[]>
Required? false
Position? 1
Default value $env:COMPUTERNAME
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Credential <PSCredential>
Required? false
Position? named
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
omsAgent
NOTES
Written by Ben Taylor
Version 1.1, 08.02.2016
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-omsAgent -computerName 'computer1', 'computer2'
RELATED LINKS