![]() It was only a matter of time before Windows 10 would make its way to Mac devices. This includes Apple's mouse, trackpad and keyboard Thunderbolt the built-in optical drive or Apple's portable USB Superdrive the built-in SD or SDXC card slot USB 3.0 and for those who own an Early 2015 version of the 12-inch MacBook Pro Retina, its USB-C port. When Windows 10 is finally up and running, most of the hardware features on a Mac should be able to work with Microsoft's new software. Those who have Windows 8 via Boot Camp will need to upgrade to Windows 8.1 prior to getting Windows 10. The SysInternal tools are great and could be downloaded, extracted, and used for this purpose, probably more reliably even, but adds complexity and more dependencies.Additionally, you will need 10 GB of free space on the Boot Camp partition. I think Task Scheduler is the best way to run as SYSTEM due to the fact that many company policies or AV vendors view PsExec as a potential security threat. I had added an extra step in the task sequence right after this script to validate that it was done before moving on (secondary insurance), so I'll have to spend some more time verifying that the timing logic itself is working as intended.Īs for invoking it, you can just call "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" with the parameters "-ExecutionPolicy Bypass -File " which will avoid having to change execution policy on the system. We have about 13,000 Mac's, and I've been using Configuration Manager prestages that use a trimmed down version of this script as part of the task sequence. You can definitely include it in the repo! I know there are a few things that could be done better, especially around the timing and reliability of the scheduled task, so as I iron those out, I'll submit the changes for you. ![]() # Create Output Directory if it does not exist # Disable Invoke-WebRequest progress bar to speed up download due to bug $Model = (Get-WmiObject -Class Win32_ComputerSystem).Model, Path = c:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife\WindowsSupport.dmg Path = c:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife\Payload~Ĭalling 7-Zip command: C:\Program Files\7-Zip\7z.exe x -oC:\Users\Antonio\Downloads\BootCamp-031-55710 -y c:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife\WindowsSupport.dmgĮxtracting archive: c:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife\WindowsSupport.dmg Path = c:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife\BootCampESD.pkgĬalling 7-Zip command: C:\Program Files\7-Zip\7z.exe e -oc:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife -y c:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife\Payload~Įxtracting archive: c:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife\Payload~ Making directory C:\Users\Antonio\Downloads\BootCamp-031-55710.Ĭalling 7-Zip command: C:\Program Files\7-Zip\7z.exe e -oc:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife -y c:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife\BootCampESD.pkgħ-Zip 16.04 : Copyright (c) 1999-2016 Igor Pavlov : Įxtracting archive: c:\users\antonio\appdata\local\temp\bootcamp-unpack_nevife\BootCampESD.pkg Model supported in package distribution file at. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |