update scripts

This commit is contained in:
abrown38 committed 2024-08-13 13:29:07 +01:00
1 parent 665eb6ec7c
commit 9d17545bc0
4 files changed
+238 -3

No files matched your search

@@ -1,5 +1,6 @@
$DomainOU = Get-ADDomain | foreach {$_.DistinguishedName}
set-addefaultdomainpasswordpolicy -ComplexityEnabled True -MinPasswordLength 14 -MaxPasswordAge 30
$Domain = (Get-ADDomain).DNSRoot
set-addefaultdomainpasswordpolicy -Identity $Domain -ComplexityEnabled $true -MinPasswordLength 14 -MaxPasswordAge "30.00:00:00"
#Create Workbench hardening GPO
New-GPO -Name "RDS WB hardening" -comment "hardening for the workbench"