Windows Vista Forums

Need 2 change user password configuredin multi schedued tasks/serv
  1. #1


    Kamal Guest

    Need 2 change user password configuredin multi schedued tasks/serv

    Hi
    Is there a way through powershell wherein we can find if a specific user
    account is configured to run the scheduled tasks and services of how many
    domain controllers/servers?



      My System SpecsSystem Spec

  2. #2


    Jeffery Hicks [MVP] Guest

    Re: Need 2 change user password configuredin multi schedued tasks/serv

    Unless you've configured some central database to keep this information,
    you'll have to search each computer. For services, you can use
    Get-WMIobject and the Win32_Service class. You could query all services and
    only return those where the Startname matches the account in question

    gwmi win32_service -filter "startname='Domain\jdoe'" -computer Server1 |
    Select SystemName,Name,Startname

    You could easily pipe a list of servers to this expression and format the
    results however you wanted. Scheduled tasks is a little harder. The WMI
    class that you'll find is for the older AT tasks. But I think you could
    call the command line tool SCHTASKS and parse the output.

    --
    Jeffery Hicks
    Microsoft PowerShell MVP
    http://www.scriptinganswers.com
    http://www.powershellcommunity.org

    Now Available: WSH and VBScript Core: TFM
    Coming Soon: Windows PowerShell: TFM 2nd Ed.

    "Kamal" <Kamal@xxxxxx> wrote in message
    news:EBF7ACBA-69C4-4AA3-B448-9ED104274702@xxxxxx

    > Hi
    > Is there a way through powershell wherein we can find if a specific user
    > account is configured to run the scheduled tasks and services of how many
    > domain controllers/servers?

      My System SpecsSystem Spec

Need 2 change user password configuredin multi schedued tasks/serv problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change AD User Password Ben PowerShell 0 18 Nov 2009
Privision User must change password at next logon, if passwordchanged, set password never expire klam10411 VB Script 1 02 Apr 2009
Solved User Account Password - Change from Win RE dinesh Tutorials 0 30 Dec 2008
change user password on remote computer OM VB Script 0 23 Sep 2008
Vista will not let Save User Password Appear when user name and password required - Connect to screen dvanthull Vista account administration 1 29 Jun 2008