I ran this yesterday PS C:\Users\jason> winrm quickconfig WinRM already is set up to receive requests on this machine. WinRM is not set up to allow remote access to this machine for management. The following changes must be made:
Create a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this machine. Enable the WinRM firewall exception. Make these changes [y/n]? y WinRM has been updated for remote management. Created a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this machine. WinRM firewall exception enabled. Thanks, Jason From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On Behalf Of christopher.catl...@us.sogeti.com Sent: Thursday, January 16, 2014 10:19 AM To: scripting@lists.myitforum.com Subject: [scripting] RE: Invoke-Command http://blogs.technet.com/b/heyscriptingguy/archive/2010/11/16/enable-powershell-remoting-to-enable-running-commands.aspx You need to enable and configure Ps-Remoting Christopher Catlett Consultant | Detroit [MCTS_2013_small] Sogeti USA Office 248-876-9738 |Fax 877.406.9647 26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456 www.us.sogeti.com<http://www.us.sogeti.com/> From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> [mailto:listsad...@lists.myitforum.com] On Behalf Of Daniel Ratliff Sent: Thursday, January 16, 2014 11:07 AM To: scripting@lists.myitforum.com<mailto:scripting@lists.myitforum.com> Subject: [scripting] RE: Invoke-Command What error do you get? Daniel Ratliff From: listsad...@lists.myitforum.com<mailto:listsad...@lists.myitforum.com> [mailto:listsad...@lists.myitforum.com] On Behalf Of jlos...@mpi.mb.ca<mailto:jlos...@mpi.mb.ca> Sent: Thursday, January 16, 2014 11:03 AM To: scripting@lists.myITforum.com<mailto:scripting@lists.myITforum.com> Subject: [scripting] Invoke-Command Hi, we have a set of scripts that run on ServerA and they do not run on identical ServerB The Invoke-Command does not work locally or remotely on ServerB Any ideas? Thanks, Jason Loster Senior IT Analyst IT Security, Compliance and Risk Management Manitoba Public Insurance 708-234 Donald St. Winnipeg, MB, R3C 4A4 jlos...@mpi.mb.ca<mailto:jlos...@mpi.mb.ca> The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
<<inline: image001.jpg>>