Topic Last Modified: 2010-10-01
Returns information about the computers that perform service roles within your Microsoft Lync Server 2010 infrastructure.
Syntax
Get-CsComputer [-Identity
<XdsGlobalRelativeIdentity>] [-Pool <String>]
|
Get-CsComputer [-Filter <String>] [-Pool
<String>]
|
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Optional |
String |
FQDN of the computer to be returned. For example: -Identity "atl-cs-001.litwareinc.com". If this parameter is not specified, all of the computers running Lync Server 2010 will be returned. |
Filter |
Optional |
String |
Enables you to use wildcard characters when specifying the Identity of the computer (or computers) to be returned. For example, this command returns information about all the computers that have an Identity that begins with the string value "atl-": -Filter "atl-*". |
Pool |
Optional |
String |
FQDN of a Lync Server 2010 pool. When you use this parameter, information about all the computers in the specified pool will be returned. |
Detailed Description
Get-CsComputer provides a way to quickly identify computers that are running Lync Server 2010 services or server roles. Called without any parameters, Get-CsComputer returns a collection of all the computers that are running Lync Server 2010 services or server roles; this collection includes the Identity, pool name, and fully qualified domain name (FQDN) for each computer. Alternatively, you can use optional parameters such as Identity, Filter, or Pool to limit the returned data to a single computer or set of computers.
Who can run this cmdlet: By default, members of the following groups are authorized to run the Get-CsComputer cmdlet locally: RTCUniversalUserAdmins, RTCUniversalServerAdmins, RTCUniversalReadOnlyAdmins.
Input Types
None. Get-CsComputer does not accept pipelined input.
Return Types
Get-CsComputer returns instances of the Microsoft.Rtc.Management.Deploy.Internal.Machine object.
Example
-------------------------- Example 1 --------------------------
Copy Code | |
---|---|
Get-CsComputer |
In Example 1 the Get-CsComputer cmdlet is used to return information about all the computers that perform service roles within your Lync Server 2010 infrastructure.
-------------------------- Example 2 --------------------------
Copy Code | |
---|---|
Get-CsComputer -Filter "*.litwareinc.com" |
The command shown in Example 2 uses the Filter parameter to return only those service role computers that are part of the litwareinc.com domain. The wildcard string *.litwareinc.com restricts the returned information to computers that have an FQDN that ends with the string value ".litwareinc.com".
-------------------------- Example 3 --------------------------
Copy Code | |
---|---|
Get-CsComputer -Identity "atl-cs-001.litwareinc.com" |
In the preceding example, the Identity parameter is used to limit the returned data to the one computer that has the FQDN atl-cs-001.litwareinc.com.
-------------------------- Example 4 --------------------------
Copy Code | |
---|---|
Get-CsComputer -Pool "atl-cs-001.litwareinc.com" |
In Example 4, the Pool parameter is used to return information about all the computers found in the pool atl-cs-001.litwareinc.com.