{"id":9,"date":"2015-01-24T16:08:43","date_gmt":"2015-01-24T21:08:43","guid":{"rendered":"http:\/\/packetlost.com\/blog\/?p=9"},"modified":"2017-02-07T21:42:57","modified_gmt":"2017-02-08T02:42:57","slug":"display-and-save-wireless-mac-address-with-powershell","status":"publish","type":"post","link":"https:\/\/packetlost.com\/blog\/2015\/01\/24\/display-and-save-wireless-mac-address-with-powershell\/","title":{"rendered":"Display and Save Wireless Mac Address with PowerShell"},"content":{"rendered":"<p>A while back I was working at a place where the desktop techs needed to send the wireless MAC address to the network security team. So during the build I wrote this powershell script to save the MAC address to a text document on the desktop and to open it up.<\/p>\n<p>This was done in conjunction with MDT while it wrapped up the task sequence logged in as the built-in administrator .<\/p>\n<pre class=\"lang:ps decode:true \" title=\"Get Wireless Mac Address\">Get-WmiObject win32_networkadapterconfiguration |\r\nWhere-Object {$_.caption -like \"*wireless*\"} |\r\nSelect-Object -property Description,MacAddress |\r\nOut-File $env:userprofile\\desktop\\mac.txt\r\nInvoke-Item $env:userprofile\\desktop\\mac.txt<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A while back I was working at a place where the desktop techs needed to send the wireless MAC address to the network security team. So during the build I wrote this powershell script to save the MAC address to &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/packetlost.com\/blog\/2015\/01\/24\/display-and-save-wireless-mac-address-with-powershell\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[3],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-powershell","tag-powershell"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/packetlost.com\/blog\/wp-json\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/packetlost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/packetlost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/packetlost.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/packetlost.com\/blog\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":3,"href":"https:\/\/packetlost.com\/blog\/wp-json\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":12,"href":"https:\/\/packetlost.com\/blog\/wp-json\/wp\/v2\/posts\/9\/revisions\/12"}],"wp:attachment":[{"href":"https:\/\/packetlost.com\/blog\/wp-json\/wp\/v2\/media?parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/packetlost.com\/blog\/wp-json\/wp\/v2\/categories?post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/packetlost.com\/blog\/wp-json\/wp\/v2\/tags?post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}