Get IP or MAC addresses of Windows Multipoint Server 2012 stations?
Posted
by
user1454265
on Server Fault
See other posts from Server Fault
or by user1454265
Published on 2013-08-26T21:50:47Z
Indexed on
2013/10/20
9:57 UTC
Read the original article
Hit count: 425
powershell
|windows-multipoint-server
Is it possible to programmatically retrieve the IP or MAC address of a station assigned to a Windows MultiPoint Server 2012 host, using PowerShell or any other .NET or Windows API?
Background: I'm developing a application to help set up USB-over-Ethernet zero clients in a WMS 2012 setup, bridging the PowerShell "WmsCmdlets" module (Microsoft.WindowsServerSolutions.MultipointServer.PowerShell.Commands.Library.WmsStation) and a third-party vendor API for configuring zero client IP address, etc. So far, I do not know any means of matching up the "stations" of the WmsCmdlets with the zero client objects in the vendor's API.
Finding out the IP or MAC associated with a WMS station would do nicely, since I have this on the zero client API side. However, I haven't found any information I could use in the PowerShell WmsCmdlets module, such as Get-WmsStation which returns the following:
Id : 1
Name : <my station name>
IsAutoLogOn : False
IsSplit : False
CollabId : 0
RemoteConnectionServerName :
VirtualMachineName :
VirtualMachineId :
AutoLogOnUserName :
AutoLogOnPassword :
DeviceTypes : {DT_Mouse, DT_Keyboard, DT_Audio, DT_MassStorage...}
DeviceCounts : {2, 2, 0, 0...}
ComputerName : <my WMS host server name>
SessionId : 4294967295
SessionHostServer : <my WMS host server name>
© Server Fault or respective owner