{"id":8793,"date":"2025-04-25T00:54:35","date_gmt":"2025-04-25T00:54:35","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=8793"},"modified":"2025-04-25T00:54:36","modified_gmt":"2025-04-25T00:54:36","slug":"how-to-enable-remote-poweshell-on-device","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/how-to-enable-remote-poweshell-on-device","title":{"rendered":"How to Enable Remote Poweshell on Device"},"content":{"rendered":"\n<p>PS C:\\Users\\CheckWindUserPrd&gt; $session = New-PSSession -ComputerName 10.0.0.4 -ConfigurationName PowerShell.7<br>New-PSSession : [10.0.0.4] Connecting to remote server 10.0.0.4 failed with the following error message : The WinRM<br>client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer<br>is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the<br>TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts<br>list might not be authenticated. You can get more information about that by running the following command: winrm help<br>config. For more information, see the about_Remote_Troubleshooting Help topic.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">Set-Item WSMan:\\localhost\\Client\\TrustedHosts -Value \"10.0.0.4\" -Concatenate\n\n$session = New-PSSession -ComputerName 10.0.0.4\n\nInvoke-Command -Session $session -ScriptBlock { .\\labtech.exe }<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>PS C:\\Users\\CheckWindUserPrd&gt; $session = New-PSSession -ComputerName 10.0.0.4 -ConfigurationName PowerShell.7New-PSSession : [10.0.0.4] Connecting to remote server 10.0.0.4 failed with the following error message : The WinRMclient cannot process [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8793","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=8793"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8793\/revisions"}],"predecessor-version":[{"id":8794,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8793\/revisions\/8794"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=8793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=8793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=8793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}