{"id":5293,"date":"2016-10-21T09:55:20","date_gmt":"2016-10-21T13:55:20","guid":{"rendered":"http:\/\/jdhitsolutions.com\/blog\/?p=5293"},"modified":"2016-10-21T10:05:08","modified_gmt":"2016-10-21T14:05:08","slug":"are-you-my-nano","status":"publish","type":"post","link":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/","title":{"rendered":"Are You My Nano?"},"content":{"rendered":"<p>I've been diving a bit deeper into the Nano waters now that Windows Server 2016 is out the door. As I deployed a few servers I realized there was a potential long-term management issue. During the technical preview, Nano installations were recognized by their Tuva designation. But now, a Nano server is just another Windows Server 2016 installation. So how can I tell if a server is a Nano installation? Here's the solution I came up with.<\/p>\n<p><!--more--><\/p>\n<p>One solution you could use is the new Get-ComputerInfo cmdlet. On one hand this is an awesome cmdlet because it provides a wealth of system information.<\/p>\n<p><a href=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"image\" src=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image_thumb-4.png\" alt=\"image\" width=\"644\" height=\"364\" border=\"0\" \/><\/a><\/p>\n<p>And I could use it to identify Nano server through the WindowsEditionID property. However, this cmdlet only exists on Windows Server 2016 and has no remote computer options so you have to run it through a PSSession.<\/p>\n<pre class=\"lang:ps mark:0 decode:true \">$computers = \"chi-p50.globomantics.local\",\r\n\"nano-01.globomantics.local\",\r\n\"chi-test01.globomantics.local\",\r\n\"chi-test03.globomantics.local\"\r\n$cred = Get-Credential globomantics\\jeff\r\n\r\ninvoke-command -scriptblock { get-computerinfo | select CSName,windowsEditionID,WindowsProductName} -computer $computers -Credential $cred -hidecomputername | \r\nselect * -ExcludeProperty RunspaceID\r\n<\/pre>\n<p>Granted, it works.<\/p>\n<p><a href=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image-9.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"image\" src=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image_thumb-5.png\" alt=\"image\" width=\"644\" height=\"298\" border=\"0\" \/><\/a>But if I want to search a disparate list of servers, I'll have to incorporate a lot of error handling. Likewise, there is also a Nano only registry key I could search for, but that doesn't scale well.<\/p>\n<p>What I wanted was a way to identify a Nano server installation without having to rely on Windows Server 2016 or PowerShell 5.1. The answer is buried in the <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/aa394239(v=vs.85).aspx\" target=\"_blank\">Win32_OperatingSystem<\/a> class. The class has a property called OperatingSystemSKU. If you read the documentation you'll see that different operating system have different values. A Nano server will have a value of 143 or 144 depending on whether you installed Datacenter or Standard.\u00a0 From my perspective this approach is greatly preferred because I can query any server as long as it supports PowerShell 3.0.<\/p>\n<p>So I wrote this function which you can find as a <a href=\"https:\/\/gist.github.com\/jdhitsolutions\/3df3f07f4091a8fd77e901446c056a18\" target=\"_blank\">gist<\/a> on GitHub.<\/p>\n<p>The function uses <a title=\"read online help for this command\" href=\"http:\/\/go.microsoft.com\/fwlink\/?linkid=287299\" target=\"_blank\">Get-CimInstance<\/a> to query a remote computer and check the Win32_OperatingSystem class. By default the function writes a simple object to the pipeline.<\/p>\n<pre class=\"lang:ps mark:0 decode:true \">Test-IsNanoServer -Computername $computers -Credential $cred | format-list\r\n<\/pre>\n<p><a href=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image-10.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"image\" src=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image_thumb-6.png\" alt=\"image\" width=\"644\" height=\"320\" border=\"0\" \/><\/a><\/p>\n<p>Or, like <a title=\"Read online help for this command\" href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=135266\" target=\"_blank\">Test-Connection<\/a>, I included a -Quiet parameter to return a simple True\/False.<\/p>\n<pre class=\"lang:ps mark:0 decode:true \">$computers | Where { Test-IsNanoServer $_ -Credential $cred -quiet}\r\n<\/pre>\n<p><a href=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image-11.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-width: 0px;\" title=\"image\" src=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image_thumb-7.png\" alt=\"image\" width=\"644\" height=\"49\" border=\"0\" \/><\/a><\/p>\n<p>Ideally, I'd love to see Get-ComputerInfo be extended to work remotely but for now I think my simple test function should meet my needs. I hope you'll start giving Nano Server a spin. If you do, I'd love to hear about your pain points.<\/p>\n<p>If you have comments or issues with my function, please post a comment on the Gist <a href=\"https:\/\/gist.github.com\/jdhitsolutions\/3df3f07f4091a8fd77e901446c056a18\" target=\"_blank\">page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been diving a bit deeper into the Nano waters now that Windows Server 2016 is out the door. As I deployed a few servers I realized there was a potential long-term management issue. During the technical preview, Nano installations were recognized by their Tuva designation. But now, a Nano server is just another Windows&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"New on the blog: Are You My Nano?","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[497,4],"tags":[387,498,534,540],"class_list":["post-5293","post","type-post","status-publish","format-standard","hentry","category-nano-server","category-powershell","tag-cim","tag-nano","tag-powershell","tag-scripting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Are You My Nano? &#8226; The Lonely Administrator<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Are You My Nano? &#8226; The Lonely Administrator\" \/>\n<meta property=\"og:description\" content=\"I&#039;ve been diving a bit deeper into the Nano waters now that Windows Server 2016 is out the door. As I deployed a few servers I realized there was a potential long-term management issue. During the technical preview, Nano installations were recognized by their Tuva designation. But now, a Nano server is just another Windows...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/\" \/>\n<meta property=\"og:site_name\" content=\"The Lonely Administrator\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-21T13:55:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-10-21T14:05:08+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image_thumb-4.png\" \/>\n<meta name=\"author\" content=\"Jeffery Hicks\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@JeffHicks\" \/>\n<meta name=\"twitter:site\" content=\"@JeffHicks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeffery Hicks\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/\"},\"author\":{\"name\":\"Jeffery Hicks\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"headline\":\"Are You My Nano?\",\"datePublished\":\"2016-10-21T13:55:20+00:00\",\"dateModified\":\"2016-10-21T14:05:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/\"},\"wordCount\":393,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/image_thumb-4.png\",\"keywords\":[\"CIM\",\"Nano\",\"PowerShell\",\"Scripting\"],\"articleSection\":[\"Nano Server\",\"PowerShell\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/\",\"name\":\"Are You My Nano? &#8226; The Lonely Administrator\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/image_thumb-4.png\",\"datePublished\":\"2016-10-21T13:55:20+00:00\",\"dateModified\":\"2016-10-21T14:05:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/#primaryimage\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/image_thumb-4.png\",\"contentUrl\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/10\\\/image_thumb-4.png\",\"width\":644,\"height\":364},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/5293\\\/are-you-my-nano\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Nano Server\",\"item\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/category\\\/nano-server\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Are You My Nano?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/\",\"name\":\"The Lonely Administrator\",\"description\":\"Practical Advice for the Automating IT Pro\",\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\",\"name\":\"Jeffery Hicks\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"caption\":\"Jeffery Hicks\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Are You My Nano? &#8226; The Lonely Administrator","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/","og_locale":"en_US","og_type":"article","og_title":"Are You My Nano? &#8226; The Lonely Administrator","og_description":"I've been diving a bit deeper into the Nano waters now that Windows Server 2016 is out the door. As I deployed a few servers I realized there was a potential long-term management issue. During the technical preview, Nano installations were recognized by their Tuva designation. But now, a Nano server is just another Windows...","og_url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/","og_site_name":"The Lonely Administrator","article_published_time":"2016-10-21T13:55:20+00:00","article_modified_time":"2016-10-21T14:05:08+00:00","og_image":[{"url":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image_thumb-4.png","type":"","width":"","height":""}],"author":"Jeffery Hicks","twitter_card":"summary_large_image","twitter_creator":"@JeffHicks","twitter_site":"@JeffHicks","twitter_misc":{"Written by":"Jeffery Hicks","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/#article","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/"},"author":{"name":"Jeffery Hicks","@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"headline":"Are You My Nano?","datePublished":"2016-10-21T13:55:20+00:00","dateModified":"2016-10-21T14:05:08+00:00","mainEntityOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/"},"wordCount":393,"commentCount":0,"publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/#primaryimage"},"thumbnailUrl":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image_thumb-4.png","keywords":["CIM","Nano","PowerShell","Scripting"],"articleSection":["Nano Server","PowerShell"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/","url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/","name":"Are You My Nano? &#8226; The Lonely Administrator","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/#primaryimage"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/#primaryimage"},"thumbnailUrl":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image_thumb-4.png","datePublished":"2016-10-21T13:55:20+00:00","dateModified":"2016-10-21T14:05:08+00:00","breadcrumb":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/#primaryimage","url":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image_thumb-4.png","contentUrl":"https:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/10\/image_thumb-4.png","width":644,"height":364},{"@type":"BreadcrumbList","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5293\/are-you-my-nano\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Nano Server","item":"https:\/\/jdhitsolutions.com\/blog\/category\/nano-server\/"},{"@type":"ListItem","position":2,"name":"Are You My Nano?"}]},{"@type":"WebSite","@id":"https:\/\/jdhitsolutions.com\/blog\/#website","url":"https:\/\/jdhitsolutions.com\/blog\/","name":"The Lonely Administrator","description":"Practical Advice for the Automating IT Pro","publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jdhitsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9","name":"Jeffery Hicks","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","caption":"Jeffery Hicks"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":4551,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/4551\/mastery-mystery\/","url_meta":{"origin":5293,"position":0},"title":"Mastery Mystery","author":"Jeffery Hicks","date":"October 7, 2015","format":false,"excerpt":"More to come...","rel":"","context":"In &quot;Nano Server&quot;","block_context":{"text":"Nano Server","link":"https:\/\/jdhitsolutions.com\/blog\/category\/nano-server\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5547,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5547\/powershell-summit-2017-demo-files\/","url_meta":{"origin":5293,"position":1},"title":"PowerShell Summit 2017 Demo Files","author":"Jeffery Hicks","date":"April 20, 2017","format":false,"excerpt":"During the recent PowerShell+DevOps Global Summit I had two primary presentations, that is, traditional sessions with slides and demos. My other sessions were panels which means if you weren't in the room you missed out on some great content and interaction. Anyway\u2026.my main sessions were on creating class-based PowerShell tools\u2026","rel":"","context":"In &quot;Conferences&quot;","block_context":{"text":"Conferences","link":"https:\/\/jdhitsolutions.com\/blog\/category\/conferences\/"},"img":{"alt_text":"devops-logo","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2017\/04\/devops-logo_thumb.gif?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":8666,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/8666\/friday-fun-powershell-console-editing\/","url_meta":{"origin":5293,"position":2},"title":"Friday Fun: PowerShell Console Editing","author":"Jeffery Hicks","date":"October 29, 2021","format":false,"excerpt":"The other day I read an interesting article on Adam Bertram's blog about editing files with a text editor in PowerShell. Naturally, the PowerShell wheels in my head began turning. While I was intrigued by some of the options in the article, I've in fact installed the Micro editor to\u2026","rel":"","context":"In &quot;Scripting&quot;","block_context":{"text":"Scripting","link":"https:\/\/jdhitsolutions.com\/blog\/category\/scripting\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/10\/nano-verbose.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/10\/nano-verbose.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/10\/nano-verbose.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2021\/10\/nano-verbose.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":5222,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5222\/register-early-for-live-360-and-techmentor\/","url_meta":{"origin":5293,"position":3},"title":"Register Early for Live! 360 and Techmentor","author":"Jeffery Hicks","date":"September 14, 2016","format":false,"excerpt":"A reminder for you that I\u2019ll be speaking at Live! 360 Orlando, December 5-9. Surrounded by your fellow industry professionals, Live! 360 provides you with immediately usable training and education that will keep you relevant in the workforce. Plus you'll have a lot of fun. I know Techmentor attendees who\u2026","rel":"","context":"In &quot;Conferences&quot;","block_context":{"text":"Conferences","link":"https:\/\/jdhitsolutions.com\/blog\/category\/conferences\/"},"img":{"alt_text":"LSPK36.jpg","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2016\/08\/LSPK36.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":5195,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/5195\/road-trips\/","url_meta":{"origin":5293,"position":4},"title":"Road Trips","author":"Jeffery Hicks","date":"August 24, 2016","format":false,"excerpt":"It's coming up on that time of year again when I hit the road for series of tech conferences. I try to speak at several so that you have options, assuming you have any interest in what I might be presenting. I realize there is some competition between conferences but\u2026","rel":"","context":"In &quot;Conferences&quot;","block_context":{"text":"Conferences","link":"https:\/\/jdhitsolutions.com\/blog\/category\/conferences\/"},"img":{"alt_text":"http:\/\/csharpcorner.mindcrackerinc.netdna-cdn.com\/UploadFile\/Event\/02042016234636PM\/Ignite.png","src":"https:\/\/i0.wp.com\/csharpcorner.mindcrackerinc.netdna-cdn.com\/UploadFile\/Event\/02042016234636PM\/Ignite.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":88,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/88\/powershell-parsing\/","url_meta":{"origin":5293,"position":5},"title":"Powershell Parsing","author":"Jeffery Hicks","date":"January 16, 2007","format":false,"excerpt":"In PowerShell, Get-WMIObject is a terrific cmdlet for remotely managing systems. If you have a text list of server or computer names, here's a quick method you could enumerate that list and do something to each server.foreach ($server in (Get-Content s:\\servers.txt)) {#skip blank lines if (($server).length -gt 0) { $server\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5293"}],"version-history":[{"count":0,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5293\/revisions"}],"wp:attachment":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}