I'm having an issue where during PreStage enrollment I have an admin
account created for temporary purposes to get computers setup for a
users. After the setup process is done, we delete the account. I'm
encountering an issue where on some computers,...
Hi All, I want to leverage the "system_profiler
SPInstallHistoryDataType" command which will tell me all of the
installed macOS updates. To do that I can add a pipe and grep the string
"macOS". However I'm looking to get both the macOS update(s) that...
Let me first say I am still new to scripting! As we know, ever since
Catalina, the default shell is now zsh which is now posing problems
since most of my scripts are bash (they start with #!/bin/bash). I'm
noticing more and more of the scripts that I...
A few weeks back Apple released a supplemental update (2020--005) for
macOS Mojave then quickly pulled it because it was causing issues. They
then fixed it and released it again. Regardless if a computer had the
faulty or the fixed update, the system...
Greetings,I have policies which install Creative Cloud apps to various
labs. Using the web console, I've uploaded the packages in Settings >
Computer Management > Packages. I've configured the policy by using the
packages payload and put each one sep...
@bwoods , Thanks for your comment and the link. The EA script is working
as intended. As for the second script, since the affected computers are
in a lab environment most of the time it will be at a login screen so it
would make sense to run somethin...
Thank you @mm2270 and @RBlount! Between the two scripts you've shared, I
should be able to build something with them. If the Asset Tag doesn't
live in JSS for a computer yet, is there an API connection that would
"write" to JSS from the command line ...
I'm looking to do sort of the same thing but in two stages. Is there a
way to populate the Asset Tag in JSS using the API only extracting some
of the current computer's hostname? For example, if a computer name is
"iMac-123456". I would like to popul...
Hi @beeboo,Sadly, I have not had any success getting this in an EA. I
can successfully get data if I run the command via Terminal locally.
Even if I could get the output into an EA, there would have to be some
"cleanup" with the output because it wou...