header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera

Services Startname Query, PW Change, Restart
Last Post 07 Aug 2008 02:11 AM by halr9000. 4 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ssaehrigUser is Offline
New Member
New Member
Posts:31

--
06 Aug 2008 08:21 PM  

I have created this script to query a range of servers specified in a text file. then for each server in list the script will query all services for services running as a specific name. In addition the script changes the passwod and restarts all services providing feedback to the console. I have attached the script for review becasue it is rather large. This is my first peer review Script and i know this script could be more efficient. Any feedback is appreciated.

Steven

Here is a link to the file on my site.

http://saehrig.com/ops/ServiceAccountQuery.Restart.ChgPW.ps1 

ShayUser is Offline
Basic Member
Basic Member
Posts:228

--
06 Aug 2008 09:16 PM  

I can't download the attachement, the link is broken

halr9000User is Offline
Basic Member
Basic Member
Posts:316

--
07 Aug 2008 01:47 AM  
I've got my people looking into the attachment issue. Steven, in the meantime, can you paste it up on this pastebin?
ssaehrigUser is Offline
New Member
New Member
Posts:31

--
07 Aug 2008 01:52 AM  
Thanks Hal. I copied the script to the Paste Bin.
halr9000User is Offline
Basic Member
Basic Member
Posts:316

--
07 Aug 2008 02:11 AM  
You are supposed to tell everyone the URL. :D http://posh.jaykul.com/p/1263
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • ShellTools, LLC • Microsoft Windows Server 2008 footer
footer