manager config added

This commit is contained in:
Gramzon
2025-01-14 11:53:34 +01:00
parent d8fbcbdcb4
commit 94bd71f58c
3 changed files with 81 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ ipconfig /all
# Add the computer to the domain
$domainName = "RohanIT.sec" # replace with your domain name (e.g. InfraIT.sec)
$cred = Get-Credential -UserName "<writeYourUserName>@$domainName" -Message 'Provide credentials for a domain admin'
$cred = Get-Credential -UserName "Wormtongue@$domainName" -Message 'Provide credentials for a domain admin'
Add-Computer -Credential $cred -DomainName $domainName -PassThru -Verbose
Restart-Computer