用于加入Active Directory中指定OU中的计算机的脚本 [英] Script for joining computers in designated OU in Active Directory
本文介绍了用于加入Active Directory中指定OU中的计算机的脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不希望计算机加入域并保留在计算机默认容器中。我宁愿让他们在指定的计算机OU中。我正在寻找一个可以实现这一目标的脚本。
解决方案
检查Add-Computer PowerShell cmdlet。它有一个-OUPath参数,您可以在其中指定OU:
I do not want computers to join domain and stay in computers default container. I rather want them to be in designated Computer OUs. I am looking for a script that can achieve this goal.
解决方案
Check the Add-Computer PowerShell cmdlet. It has a -OUPath parameter where you specify the OU:
这篇关于用于加入Active Directory中指定OU中的计算机的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文