header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Services Startname Query, PW Change, Restart
Last Post 06 Aug 2008 06:11 PM by halr9000. 4 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Trac3r726User is Offline
New Member
New Member
Posts:33

--
06 Aug 2008 12: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/ServiceAccou....ps1 

    Steven Saehrig
    MCP, MCTS
    Shay LevyUser is Offline
    PowerShell MVP, Admin
    Veteran Member
    Veteran Member
    Posts:1362
    Avatar

    --
    06 Aug 2008 01:16 PM

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


    Shay Levy
    Windows PowerShell MVP
    http://PowerShay.com
    PowerShell Community Toolbar
    Twitter: @ShayLevy
    halr9000User is Offline
    PowerShell MVP, Site Admin
    Advanced Member
    Advanced Member
    Posts:565
    Avatar

    --
    06 Aug 2008 05:47 PM
    I've got my people looking into the attachment issue. Steven, in the meantime, can you paste it up on this pastebin?
    Community Director, PowerShellCommunity.org
    Co-host, PowerScripting Podcast
    Author, TechProsaic
    Trac3r726User is Offline
    New Member
    New Member
    Posts:33

    --
    06 Aug 2008 05:52 PM
    Thanks Hal. I copied the script to the Paste Bin.
    Steven Saehrig
    MCP, MCTS
    halr9000User is Offline
    PowerShell MVP, Site Admin
    Advanced Member
    Advanced Member
    Posts:565
    Avatar

    --
    06 Aug 2008 06:11 PM
    You are supposed to tell everyone the URL. :D http://posh.jaykul.com/p/1263
    Community Director, PowerShellCommunity.org
    Co-host, PowerScripting Podcast
    Author, TechProsaic
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer