mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-29 07:27:21 +00:00
New scripts and use symlink to avoid changes between versions
This commit is contained in:
1 parent
16e0932ed1
commit
92491b6337
8 files changed
+437
-975
No files matched your search
@@ -210,4 +210,6 @@ net.exe accounts /MinPWLEN:14 /lockoutthreshold:5 /MAXPWAGE:30
|
||||
#$domainadminid2 = $domainid + "_" + "administrator"
|
||||
#get-aduser -identity 'Administrator' | Rename-AdObject -NewName $domainadminid2
|
||||
$domainguestid2 = $domainid + "_" + "guest"
|
||||
get-aduser -identity 'guest' | Rename-AdObject -NewName $domainguestid2
|
||||
get-aduser -identity 'guest' | Rename-AdObject -NewName $domainguestid2
|
||||
|
||||
Write-Output "THIS SCRIPT ACTUALLY RAN" | Out-File -FilePath 'C:\eidf\HardeningScript.txt'
|
||||
Reference in new issue
Block a user