Solved

PS Remoting issue

Posted on 2016-08-30
2
55 Views
Last Modified: 2016-08-31
I'm trying to establish a PSSession to a remote server in DMZ (not on the domain).  However, I can't seem to get connected.  

I've set trusted hosts, verified WinRM running, and firewall rules allowed.  Any ideas?

New-PSSession : [WW2WS101] Connecting to remote server WW2WS101 failed with the following error message : The client cannot connect to the destination 
specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the 
WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the 
destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic.
At \\dm3us001\Scripts\@migration\SUI\updateWebApplications.ps1:14 char:15

Open in new window

0
Comment
Question by:Dustin Saunders
2 Comments
 
LVL 40

Accepted Solution

by:
footech earned 500 total points
ID: 41776872
Given the error message, and that it's in a DMZ, I would still suspect firewalls.  I would run a network capture on the machine in the DMZ to see if it is receiving traffic on TCP 5985 (assuming that's what you're using) when you try to establish a connection.
0
 
LVL 12

Author Closing Comment

by:Dustin Saunders
ID: 41778153
Ended up being my mistake, in the firewall (which is all linux cmd line) I mistakenly had swapped the interface number on the pass in/out rules.

Thanks!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question