You do need to manually login to Native Access as an administrator post install. Remove-Item /Volumes/Native -Force -ErrorAction "Continue" -Verbose Remove-Item /Volumes/nisoftware -Force -ErrorAction "Continue" -Verbose Hdiutil unmount -force /Volumes/nisoftware} Start-Process 'installer' -ArgumentList "-pkg "$pkg" -target /" -Wait} ![]() $pkgs = Get-ChildItem /Volumes/nisoftware *.pkg | Select-Object -ExpandProperty FullName Hdiutil mount $iso -mountpoint /Volumes/nisoftware/ New-Item /Volumes/nisoftware -ItemType Directory -ErrorAction "Continue" -Verbose} $nisoftwaredir = Test-Path "/Volumes/nisoftware" $softwarenamespace = $softwarename -replace " "," " ![]() $softwarenames = Get-ChildItem -Path "/Volumes/Native/Native Instruments/data" | Select-Object -ExpandProperty "BaseName" $isos = Get-ChildItem -Path "/Volumes/Native/Native Instruments/data" | Select-Object -ExpandProperty "FullName" Start-Transcript -Path "/temp/logs/NI.log" -Verbose New-Item -ItemType "Directory" -Path /temp -ErrorAction "Continue" -Verbose} Pwsh -File /private/var/tmp/ni.ps1 $tempdir = test-path "/temp" I decided just to start it from Self Service rather than after enrollment.Īdd this as the Script within the policy $4 and $5 parameters are Username and Password defined within the policy. Powershell Core 6 PackageĬreate a Policy called "Install Native Instruments"Īdd the powershell script as a package and make sure the script goes into /private/var/tmp/ni.ps1 So you need to deploy Powershell Core 6 as a package. ![]() So I've used the same script and adapted it for Macs. I had to write a powershell script to deploy Native Instruments on Windows. I'm quite new to JAMF and primarily a Windows SysAdmin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |