Find Services Using a Domain Account on Specified Computers in Microsoft Active Directory (Get-ServiceAccounts V1.20)

#Version 1.20 19-Jan-2021

  • Added creating a CSV file
    • Changed to create an object instead of text
  • Added switch UseDcom to change from using TCP port 139 for testing connections to port 5985 (WinRM 2.0)
    • Updated messages to reflect that change
  • Added the domain name to all output files and the script title
  • Change to using Invoke-Command to gather the service information on remote computers when -UseDcom is used
    • If testing the computer running the script, don’t use Invoke-Command
  • If the tested computer is online and no service with domain creds was found, write that to the output file
  • Reordered the parameters in an order recommended by Guy Leech
  • Updated help text
  • Updated ReadMe file

You can always find the most current script by going to https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/

Thanks

Webster