Try Catch Finally

Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
jvierra
Posts: 13718
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Try Catch Finally

Post by jvierra » Fri Aug 03, 2018 7:54 am

You cannot use Invoke-Command if you are not joined to a Windows NT domain. You must use authentication called CredSSP.

User avatar
MarvelManiac
Posts: 63
Joined: Mon May 01, 2017 8:28 pm

Re: Try Catch Finally

Post by MarvelManiac » Fri Aug 03, 2018 10:27 am

Everything works if the remote PC is lan connected on our 'core' network
It's the wireless I have issues with.

That's why I'm trying to figure out a work around.

User avatar
jvierra
Posts: 13718
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Try Catch Finally

Post by jvierra » Fri Aug 03, 2018 10:29 am

Either the net is set as public on your adapter or the wireless firewall is blocked.

User avatar
MarvelManiac
Posts: 63
Joined: Mon May 01, 2017 8:28 pm

Re: Try Catch Finally

Post by MarvelManiac » Fri Aug 03, 2018 10:37 am

It's probably the latter. We have lots of secured data...

Thanks for the guidance.

Locked