The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Demetrio Silva (2) [Avatar] Offline
#1
Hi. I'm having some doubts about PS remote. I have some scripts that will run on multiple servers. However, these scripts need to run the task scheduler windows. But access to these sites is via VPN. How do I run these scripts without having to enter the password of the users manually? I know that the PS is unable to record passwords in scripts. But is there anything I can do to run the scripts without needing the password at run time? Something like: script file certificate or something.

ps.: PowerShell 2.0

Sorry for the mistakes of English. I do not speak the language very well.

Hugs

Demetrius Silva

Message was edited by:
Demetrio Silva
marcelo@cdznet.com.br (2) [Avatar] Offline
#2
Re: Remote Acess
I also have the same problem some time now, I need to connect to multiple servers on different networks, but can not access the remote Windows servers in a satisfactory manner.


shell made a function that logs in via ssh from a list of servers, run the necessary scripts and returns me the logs to treat me.

with no windows wmi saw that it was possible but ran into firewall's to make the connection because WMI uses dynamic ports.

anything is welcome including you who made the question, we will exchange ideas one if What you need is something like what must we why not.
Demetrio Silva (2) [Avatar] Offline
#3
Re: Remote Acess
Hello, already solved this problem. Take a look at my blog. You are in Portuguese because I'm Brazilian.

Any questions add me on msn do you explain better

Link:

http://demetriosqlserver.spaces.live.com/blog/cns!1D50CF1AC3A02CDE!275.entry

Hugs