< Back

Get-omsAgentWorkSpace

Sat Jan 18, 2020 5:48 pm

NAME Get-omsAgentWorkSpace



SYNOPSIS

Gets OMS workspace details from remote computers





SYNTAX

Get-omsAgentWorkSpace [[-computerName] <String[]>] [-Credential <PSCredential>] [-workspaceid <String>]

[<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



-workspaceid <String>



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

System.Collections.ArrayList





NOTES





Written by Ben Taylor

Version 1.1, 08.02.2017



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



PS C:\\>Get-omsAgentWorkSpace -computerName 'computer1', 'computer2'













-------------------------- EXAMPLE 2 --------------------------



Get-omsAgentWorkSpace -computerName 'computer1', 'computer2' -workSpaceId '<workSpaceId>'















RELATED LINKS