mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-31 18:00:15 +00:00
update scripts
This commit is contained in:
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"
|
||||
|
||||
Reference in new issue
Block a user