Solved

Powershell script to connect to a list of hosts

Posted on 2011-02-24
7
816 Views
Last Modified: 2012-05-11
Experts,

     Does Powershell have the capability to connect to hosts with different types of OS's, VM's, RH thin clients, and ESX(vmware)? We have a LAN set up with Windows AD in a domain, and a few stand alone (linux)machines that are not on the domain

We're looking for one script that will run on PDC, and remotely set all passwords on the PDC/Thin Clients/ VSMs, even though they are not part of the domain.

Is this possible with Powershell and connecting to host via open ports? If so, could you provide examples?
Thanks, Missymadi
0
Comment
Question by:missymadi
7 Comments
 
LVL 42

Assisted Solution

by:paulsolov
paulsolov earned 166 total points
Comment Utility
Take a look at PowerGUI.org

PowerGui takes scripts and let's you run them via GUI.  They have pretty good modules for VMWare, Active Directory, etc..

I'm not sure if it will do what you are looking for but is worth a look.

0
 

Author Comment

by:missymadi
Comment Utility
It looks like a great add on tool for Powershell. But your right, I don't see where it could help with connection to other servers on the network that are on and off the domain.
0
 
LVL 70

Accepted Solution

by:
Chris Dent earned 167 total points
Comment Utility

Not easily, ports are all well and good, but you have to know how to talk to the port.

For most of those you mention SSH would be ideal. There's no native support for that in PS, but there are tools you can buy to add it:

http://www.nsoftware.com/powershell/

Or you could just wrap around something like PuTTY:

http://www.chiark.greenend.org.uk/~sgtatham/putty/

Chris
0
 

Author Comment

by:missymadi
Comment Utility
Yes, I did some research and found that Putty would work best in this task. Could you provide an example of a connection between Wink3 serv and a RHEL box using Putty? In the syntax of Powershell?
0
 
LVL 26

Assisted Solution

by:pony10us
pony10us earned 167 total points
Comment Utility
Another alternative is to use CYGWIN instead of Putty.  Here is a link showing how to do it:  http://hivearchive.com/2006/07/03/using-powershell-through-ssh/#
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Set OWA language and time zone in Exchange for individuals, all users or per database.
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now