我很好奇是否有办法使用vbscript,cmd,c#,...等来删除远程计算机并从域重新加入?
感谢您的任何意见!
注意:我已标记了一些可用于从不同组获取输入的语言。
答案 0 :(得分:1)
您可以使用PowerShell
Parameter Set: Domain
Add-Computer [-DomainName] <String> -Credential <PSCredential> [-ComputerName <String[]> ] [-Force] [-InformationAction <System.Management.Automation.ActionPreference]> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String]> ] [-LocalCredential <PSCredential> ] [-NewName <String> ] [-Options <JoinOptions> {AccountCreate | Win9XUpgrade | UnsecuredJoin | PasswordPass | DeferSPNSet | JoinWithNewName | JoinReadOnly | InstallInvoke} ] [-OUPath <String> ] [-PassThru] [-Restart] [-Server <String> ] [-UnjoinDomainCredential <PSCredential> ] [-Unsecure] [-Confirm] [-WhatIf] [ <CommonParameters>]
有关Technet
的更多信息