在2018年7月,我写了这个博客 如何设置Windows Autopilot并以最快的方式添加现有设备. After publishing this blog the Get-WindowsAutoPilotInfo script has been updated several times by the author Michael Niehaus. New functionalities have been added to the 剧本. Therefore Windows 10 devices can be added to Windows Autopilot even faster then described in my old blog.
让我们看看如何将Windows 10设备更快地添加到Windows Autopilot。
打开新设备。连接到您的WiFi网络(如果未连接LAN电缆),然后按 SHIFT + F10 键盘组合。这将打开命令提示符。
跑 电源外壳
运行以下命令以创建本地“scripts”文件夹并下载Get-WindowsAutoPilotInfo脚本。
cd\ md 剧本 cd 剧本 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned Save-Script -Name Get-WindowsAutoPilotInfo -Path c:\scripts
当要求安装和导入NuGet提供程序时,键入 Y 然后按 输入
(可选)您可以通过运行以下命令检查脚本是否已下载到文件夹中 目录 命令。
现在,我将使用以下(可选)参数运行脚本:
AssignedUser: 如果要将此设备直接分配给用户,则可以添加此参数,然后添加用户的UPN(可选)
AssignedComputerName: 为该设备指定一个固定名称,例如CMDB中的注册名称。即使恢复出厂设置,设备也将保留此名称。 (可选的)
在线: 直接将此设备添加到自动驾驶仪服务,而无需创建需要手动导入的输出文件
.\Get-WindowsAutoPilotInfo.ps1 -AssignedUser "用户UPN名称"– AssignedComputerName"固定设备名称" -Online
就我而言,将是以下命令;
.\Get-WindowsAutoPilotInfo.ps1 -AssignedUser [email protected]– AssignedComputerNameFUTUREWP-03 -Online
使用您的Azure Global Administrator帐户登录。
向下滚动
选择 代表您的组织同意 (只会在第一次出现),然后点击 接受
身份验证后,将收集设备信息并将其直接导入Windows Autopilot服务。
平均2到3分钟后,设备将与Windows Autopilot服务同步。
现在可以在 微软端点管理器管理中心。如您所见,它已经分配给用户并配置了固定的设备名称。
重新启动设备后,您会看到Windows自动驾驶仪已启用。并且由于此设备已分配给用户,因此用户只需输入他/她的密码即可。
该网站使用Akismet减少垃圾邮件。 了解如何处理您的评论数据.
继续使用本网站即表示您同意使用cookie。 更多信息
该网站上的cookie设置被设置为“允许cookie”,以为您提供最佳的浏览体验。如果您继续使用本网站而不更改Cookie设置,或单击下面的“接受”,则表示您同意。
发表评论