Try Catch Finally

Ask your 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.
jvierra
Posts: 14543
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Try Catch Finally

Post by jvierra »

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 »

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.

jvierra
Posts: 14543
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Try Catch Finally

Post by jvierra »

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 »

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

Thanks for the guidance.

Locked