/Quick-and-Dirty

Contains fast-written, ugly but working scripts

Primary LanguagePowerShell

Quick-and-Dirty

Contains fast-written, ugly but working scripts

Protect-RDSFromBruteforce.ps1

Simple ad-hoc self-defence script for public accessible RDP servers. Throw it to Task Scheduler (with SYSTEM privileges)

Install-ProtectRDSFromBruteforce.ps1

Script will install Protect-RDSFromBruteforce.ps1 as scheduled task. You can invoke it from elevated PowerShell session directly: Invoke-Expression (Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/al-ign/Quick-and-Dirty/master/Install-ProtectRDSFromBruteforce.ps1' -UseBasicParsing).Content

Perform-DFSRSysvolRestore.ps1

Plain and straightforward script for performing Authoritative restore for DFS-R SYSVOL