{"id":5643,"date":"2018-07-04T23:38:24","date_gmt":"2018-07-04T21:38:24","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=5643"},"modified":"2018-07-05T08:48:46","modified_gmt":"2018-07-05T06:48:46","slug":"windows-list-wwns-of-all-fibre-channel-hbas","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-list-wwns-of-all-fibre-channel-hbas\/","title":{"rendered":"Windows: List WWNs of all Fibre Channel HBAs"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_5643 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_5643')){$('.twoclick_social_bookmarks_post_5643').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%3A%20List%20WWNs%20of%20all%20Fibre%20Channel%20HBAs\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Athe%20following%20powershell%20one%20liner%20lists%20all%20WWNs%20of%20all%20attached%20Fibre%20Channel%20HBAs.%0D%0A%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/windows-list-wwns-of-all-fibre-channel-hbas\\\/\",\"post_id\":5643,\"post_title_referrer_track\":\"Windows%3A+List+WWNs+of+all+Fibre+Channel+HBAs\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>the following powershell one liner lists all WWNs of all attached Fibre Channel HBAs.<\/p>\n<p><!--more--><\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\nGet-WmiObject -class MSFC_FCAdapterHBAAttributes -namespace &quot;root\\WMI&quot; | %{&#x5B;String]::Join(&quot;:&quot;,(($_.NodeWWN) | %{&quot;{0:x2}&quot; -f $_}))}\r\n<\/pre>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, the following powershell one liner lists all WWNs of all attached Fibre Channel HBAs.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1215,555,1216,261,20,1217],"class_list":["post-5643","post","type-post","status-publish","format-standard","hentry","category-windowsknowhow","tag-fc","tag-fibre-channel","tag-hba","tag-list","tag-windows-2","tag-wwn"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5643","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=5643"}],"version-history":[{"count":2,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5643\/revisions"}],"predecessor-version":[{"id":5646,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/5643\/revisions\/5646"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=5643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=5643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=5643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}