Upon performing some testing for a customer, I had to verify the Server features and roles which are installed on the server. Here’s a simple PowerShell one-liner which will output the results nicely for you: Import–module servermanager ; Get–WindowsFeature|where–object {$_.Installed–eq...
PowerShell for Active Directory password policy management As mentioned, PowerShell is an excellent tool to automate the management and configuration process of Active Directory password policies. Here are a few PowerShell command examples for managing common AD password policy settings. Continuously block...
Installing and configuring Windows Server roles and features - This objective may include but is not limited to performing an installation of Server Core, evaluating the advantages of Server Core, configuring Server Core, automating the installation using answer files, using PowerShell cmdlets to manage...
PowerShell – Search any User on Active Directory–updated Below is an updated script that helps you find any user in AD with details like when the User object was created, modified, lockout time, bad password time, last logon etc.
FindVeryActiveComputers Look for computers logged on to AD with their computer account in last 8 hours FindVeryActiveComputers -osversion "*" OneObject Fetch one object matching a filter OneObject -ldapfilter "(name=truekonrads)" AboutSmall collection of powershell scripts useful during lateral...
➤ Numerous tools and scripts can be used to enumerate a Windows domain Examples: - Windows native DOS and Powershell commands (e.g. 'net' commands, PowerShell ActiveDirectory module) - Sysinternals tools (e.g. ADexplorer.exe) - PowerView framework / SharpView - Powershell scripts like ...
poweradmin Powershell scripts useful for Windows enterprise administration. All scripts are written by me, if not stated otherwise. For a detailed description refer to the header's .DESCRIPTION field, here's just a quick summary: Active Directory AD-Add-Users-To-Group.ps1 Add multiple users fro...
PowerShell List files in a directory greater than a value.Usageps> listFilesGt.ps1 <Path> <MinSize> [<Unit>] [<Recursive>]Options:-Path: Directory path to list. -MinSize: Minimum Size to list. -Unit: Optional Unit: Bytes (B) [default], KiloBytes (K), MegaBytes (M), GigaBytes (G)...
PowerShell and SQL Server SQL Server & Windows Documentation Using Windows PowerShell (by Kendal Vandyke) Stairway to SQL PowerShell (by Ben Miller) SQL Server Health Check Script with Powershell (by Atul Kapoor) Universal SQL Server Installation Scripts (by Prakash Heda) (Github) Powershell SQL...
VOYEUR's main purpose is to automate several tasks of an Active Directory build review or security assessment. Also, the tool is able to create a fast (and pretty) Active Directory report. The tool is developed entirely in PowerShell (a powerful scripting language) without dependencies like Mic...