![]() ![]() In the above example, we are using the gwmi cmdlet (alias o f Get-WMIObject and are interchangeable ), pointing to a remote workstation with -ComputerName switch, filtered out information requested with the -Class switch, wrapping it all in brackets so we can retrieve just the returned Powershell MACAddress property. If your remote computer is a basic configuration then we can start of something simple (gwmi -ComputerName DNSNAMEORIPADDRESS -Class Win32_NetworkAdapterConfiguration).MACAddress While, as it goes in the world of system administration, many ways to skin such a cat, I am going to leverage both the power and versatility of Powershell combined with the vast information warehouse that is WMI (Windows Management Instrumentation). It has cropped up from time to time that we need to retrieve information, in this example, the MAC address from remotely located workstations. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |