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.
This topic is 5 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

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
Last visit: Thu Sep 13, 2018 3:40 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: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

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
Last visit: Thu Sep 13, 2018 3:40 pm

Re: Try Catch Finally

Post by MarvelManiac »

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

Thanks for the guidance.
This topic is 5 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked