Skip to content

This function retrieves service accounts logged into a pool of domain computers

Notifications You must be signed in to change notification settings

estradeb/Get-ServiceAccountReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Get-ServiceAccountReport

DESCRIPTION

This function retrieved service accounts logged in a pool of computer passed as argument. It uses WMI requests. #Warning : computers need to be on while they are being searched.

import-module serviceAccountFinderModule.ps1

PARAMETER

    -dn : specify a string with the scope of the search (specify an OU or a specific computer)
    - input_csv : take as input a csv list of computer names to look up

EXAMPLE

Find service accounts running on your domain controllers :

Get-serviceAccountreport -dn 'OU=Domain Controllers,DC=domain,DC=local'

Find service accounts running on a specific set of computers joined in the domain : 1. list thoses domain computers in a CSV file (see exemple in the repo named input.csv -> the computer names must be listed) 2.

Get-serviceAccountreport -input_csv "./input.csv"'

RESULTS

A gridview will pop up with the results A CSV file is automatically registered into the local folder

Contributors

  • Clement LAVOILLOTTE
  • Benoit ESTRADE

About

This function retrieves service accounts logged into a pool of domain computers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published