Jeffrey Posted January 26, 2023 Share Posted January 26, 2023 Any idea why that might happen? Link to comment Share on other sites More sharing options...
Moderators Josh Levitsky Posted January 28, 2023 Moderators Share Posted January 28, 2023 Just not working via FileWave? Is the client on 14.8.0 or newer? I ask because scripts didn’t work on Win11 before 14.8.0 or FileWave. Otherwise share what the script is doing and maybe something will jump out as wrong. Link to comment Share on other sites More sharing options...
AnEngelsen Posted April 11, 2023 Share Posted April 11, 2023 @Jeffreythis PS1 script works for me: #####################Written by Darcey S @ FileWave 3/30/2015######################### #####Please update the below variables for your environment############################### $user = "shirtfactory.local\adbind" #I'm passing the password using an Enviornmental Variable. $password = "$Env:PW" $domain = "orgName.local" # $ou = "ou=organizationalUnit,ou=NameGoesHere,dc=shirtfactory,dc=local" ########DON'T MODIFY BELOW THIS LINE############################################## $pass = ConvertTo-SecureString $password -AsPlainText -Force $DomainCred = New-Object System.Management.Automation.PSCredential $user, $pass Add-Computer -DomainName $domain -Credential $DomainCred # -OUPath ($ou) Remove-Item $MyINvocation.InvocationName Restart-Computer -Force 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now