{"id":2322,"date":"2017-08-09T20:24:59","date_gmt":"2017-08-09T20:24:59","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=2322"},"modified":"2017-08-09T20:24:59","modified_gmt":"2017-08-09T20:24:59","slug":"how-to-connect-to-a-windows-nano-server-using-powershell","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=2322","title":{"rendered":"How To Connect To A Windows Nano Server Using PowerShell"},"content":{"rendered":"<p>In this article, I\u2019ll show you how I connect to my Windows Server 2016 using PowerShell Remoting.<span id=\"more-11813\"><\/span><\/p>\n<p>To get started, I Open a Windows PowerShell console.<\/p>\n<p>Note:If your Nano Server Is\u00a0<strong>not<\/strong>\u00a0part of your domain\u00a0type the line below, do add it to the Trusted Hosts list on your machine.<\/p>\n<pre>Set-Item WSMan:\\localhost\\Client\\TrustedHosts -Value 192.68.0.21 -Concatenate<\/pre>\n<p><code><\/code><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i2.wp.com\/www.ntweekly.com\/wp-content\/uploads\/2016\/05\/050816_0102_HowToConnec1.png?w=525\" alt=\"\" width=\"524\" height=\"269\" \/><\/p>\n<p>Next, I type the line below to Connect to my Windows Nano Server 2016:<\/p>\n<p><code>Enter-PSSession -ComputerName 192.68.0.21 -Credential Administrator<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i1.wp.com\/www.ntweekly.com\/wp-content\/uploads\/2016\/05\/050816_0102_HowToConnec2.png?w=525\" alt=\"\" width=\"524\" height=\"269\" \/><\/p>\n<p>Now I can run any available PowerShell cmdlet<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i2.wp.com\/www.ntweekly.com\/wp-content\/uploads\/2016\/05\/050816_0102_HowToConnec3.png?w=525\" alt=\"\" width=\"524\" height=\"269\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, I\u2019ll show you how I connect to my Windows Server 2016 using PowerShell Remoting. To get started, I Open a Windows PowerShell console. Note:If your Nano Server Is\u00a0not\u00a0part of your domain\u00a0type the line below, do add it to the Trusted Hosts list on your machine. Set-Item WSMan:\\localhost\\Client\\TrustedHosts -Value 192.68.0.21 -Concatenate Next, I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59,65],"tags":[],"class_list":["post-2322","post","type-post","status-publish","format-standard","hentry","category-powershell","category-nano-server-nano-server"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2322"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2322\/revisions"}],"predecessor-version":[{"id":2323,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2322\/revisions\/2323"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}