如何创建在域和工作组之间切换的脚本
我正在寻找一种在家庭工作组和工作域之间切换的方法。
我确信可以使用批处理/python 语言中的一些命令来完成它,但我不知道该怎么做...
我很乐意获得一些帮助.. 我听说过这个网站的好消息,很高兴看到这些事情成真:)
谢谢, 阿米哈伊
I am searching for a way to switch between my home's workgroup and my work's Domain.
I am sure that it can be done with some commands in batch/python language but I have no idea how to do it...
I'll be happy to get some help..
I heard good things about this site, will be happy to see those things come true :)
Thanks,
Amihay
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Microsoft 建议您使用
netdom
。请注意,计算机必须重新启动(每当您更改工作组时都会重新启动)。例如,如果您有一台名为
mymachine
的计算机,并且想要切换域mydomain
,您可以编写:另请参阅:
netdom
的更多信息Microsoft suggests that you use
netdom
. Note that the machine will have to restart (as it does whenever you change the workgroup).For example, if you have a computer called
mymachine
that you want to switch the domainmydomain
you would write:See Also:
netdom