top of page

Boyette Technical Services
All My Latest PowerShell Goodness to share
Welcome to Boyette Technical Services, My very own contact landing spot to share my PowerShell passions/collections. I write/collect PS scripts daily and find it very fulfilling to quickly do what masses cannot do, all utilizing PowerShell :) , I hope you enjoy my site starts, I intend it to become a viable resource, feel free to comment or make a request, I probably have it already. :). Enjoy!
Home: Welcome
Search
PowerShell -Enter Username to list Group memberships
Nice one liner that simply tells the groups a user is a member of to screen $a = Read-Host "Enter Username to discover Domain...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Find FSMO holders in Domain DC's
Save the code as a .ps1, or copy and paste, enter your Domain.com in the code and outputs to c:\temp\fsmolist.txt $logFile =...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Check All DC's for ping and defined TCP port success
Save as a PortChecker.ps1, runs and gets DC's with defined port entered after launching, then outgrids to screen the DC's and results $a...
Jon Boyette
Jan 10, 20221 min read
PowerShell - IP to HostName resolve from text list
Save as a named .ps1. This is the IP to host versus the latter, this one becomes invaluable if doing any traceroute items and need to...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Check Remote server and port if open
Save as a .ps1 and prompts for the servername, then the port to check if it is listening $targetServer= Read-Host "Enter ServerName to...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Find all Terminal Servers on Domain (RDS)
Save as Get all TS servers on domain.ps1, When ran outputs to screen the Terminal Server(s) (or RDS) servers on network/domain...
Jon Boyette
Jan 10, 20221 min read
PowerShell - LDap Ping Times across DC's
Save as LDapPing.ps1 and run, outputs to c:\temp\LDap_Time_MeasureMents_Forest.csv, measures time across DC's for 1 minute to compare...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Get Certificate Details from list of servers.txt
Save as a named .ps1, populate c:\temp\servers.txt with servers to gather detailed certificate info on $a = Get-Content...
Jon Boyette
Jan 10, 20221 min read
PowerShell - get-NetworkComputerShares.ps1
Save the following as the get-NetworkComputerShares.ps1, runs and discovers ALL network shares and repots to where defined, it will...
Jon Boyette
Jan 10, 20222 min read
PowerShell - AD Site Info
Save to .ps1, Includes Name, Domain, Subnets, Site links, Outputs to c:\temp\adsiteinfo.csv Add your domain in Code $ReportFile =...
Jon Boyette
Jan 10, 20221 min read
PowerShell - List Managers Direct Reports By their Username
Save as .ps1, Run and asks for username of manager, once supplied it will lists all direct reports defined in AD Clear-host Import-Module...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Test SSL support/versions of Website(s)
Save as a .ps1, prompts for the webserver name, Lists TLS and SSL versions supported and Ciphers $a = Read-Host "Enter Your Webserver...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Get detailed username information from txt list of users
Save as a .ps1, Populate c:\temp\usernames.txt with domain usernames, Outputs all GivenName, Surname, SamAccountName, EmailAddress,...
Jon Boyette
Jan 10, 20221 min read
PowerShell - TraceRoute AND Netstat reports from list of remote servers/computers
Save this as a .ps1, populate c:\temp\servers.txt with list of servers to netstat and traceroute, outputs all ports and trace to...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Lists UDP and TCP ports with process using them
Save as a .ps1, prompts for server name, Lists to screen all TCP and UDP ports, listening and bound with related process(es) $a =...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Get remote installs/applications with dates
Save as a .ps1, prompts for server name to see name, versions and install dates of all installed applications $A = Read-Host "Enter...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Get Per OU GPO Details
Save as the .ps1 you want to name it, run and it prompts for the domain OU, Example would be "OU=Servers,DC=Domain,DC=COM", This is same...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Get All GPO info on Domain Where applied with WMI Filter
Save this as a .ps1, This when managing GPO's, will list ALL GPO's in the forest, if active, and what OU they apply to, OutPuts to...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Get ALL Users Last Login on Domain
Save as .ps1, Gets ALL Domain users last Domain login, and reports to c:\temp\alluserslastlogin.csv $(foreach ($DC in...
Jon Boyette
Jan 10, 20221 min read
PowerShell - Get ALL users from a text list of servers
Save as a .ps1, or a copy and paste, populate c:\temp\servers.txt, with servers you want to know what users are on each, output to...
Jon Boyette
Jan 10, 20221 min read
Home: Blog2
Home: Contact
bottom of page