Virtual Joe

Got a cup of Joe

Vmware – Service reporter

Posted by jkw117 on April 20, 2009

I figured I’d start it off with a script or two I’ve written.

  1. VM Service Report -  Submitted to the Powershell/VMware contest last year -I didn’t win :(
    1. Basically it goes through your vm’s connects to them via wmi and gets a list of services (it removes a common list of the services) dumps that as well as some other info out to a excel spreadsheet. This way you can get an idea of what is running on each VM. This is the script vmsrvcrep.ps1
  2. Active Directory Migration tool tester
    1. I’ve been working on doing a Active Directory migration. One of the things I discovered was that many of the workstations in the environment had domain connectivity issues. Varying from file and print sharing being disabled, applications that don’t allow the ADMT application to access the machine remotely to migrate it.  It also gets a list of the users who have logged into the machine, which helps when you are trying to migrate users and groups, and need to figure out where they are.  The script gets a list of computers from AD ( which can be limited to a OU, or to a certain number of computers) And then provides the following info from each machine and dumps into excel. RPC accessibility, Ping result, C$ share, Machine Name, Username, and Filesystem.When you save the file make sure you save it as a text file with the .ps1 file.
      ADMT-comp-user-info.ps1
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.