你好,
运行命令“wmic computersystem get domain” 可以查看已加入的域名称信息。
但是并不推荐通过提权的方式安装软件,如果普通用户想要安装软件的话,最好能够联系域管理员安装。
有关编辑脚本问题,可以咨询Technet 的脚本中心。
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.