Skip to content

snowliver/shell-intune-samples

 
 

Repository files navigation

Intune macOS Shell Script Samples

This repository is for macOS Intune sample scripts and custom configuration profiles. There are many cases where it is necessary to use a custom profile or shell script to accomplish a task.

To get started, check out the following documentation

To make things a little easier to navigate the repo has been split up into three main sections:

Apps

This section is for scripts that install or configure applications on the Mac. There are many reasons to deploy apps via shell script rather than via the macOS mdmclient. Our preferred method of app deployment is via the Mac App Store VPP, but the Intune Scripting agent provides an almost infinte level of possibilities where the apps you need on your Macs can't be deployed via VPP.

|-Apps
|---Company Portal
|---Minecraft Education Edition
|---Office for Mac
|---Remote Desktop
|---Skype
|---Teams
|---Visual Studio Code
|---Yammer
|---gitHub Desktop

Misc

This section is for scripts that do general macOS configurations. This is an Alladin's cave of scripts to get your Macs in shape. Feel free to submit your own examples too, we'd love to get contributions.

|-Misc
|---CompanyPortalPreferences
|---Dock
|---EnableOneDriveFinderSync
|---MDATP
|---Wallpaper
|---setTimeZone

Custom Profiles

This section is for example Custom Profiles for deployment via Intune. These come from various places, either hand written, Apple Condigurator 2 or OS X Server Manager's Profile Manager. Our aim is to have everything in here written into the Intune UI directly, but while we're working on that we're storing some useful profiles here.

├── Custom\ Profiles
│   └── Disable External Storage
├── LOBAppPrep

Disclaimer

Understand the impact of each sample script prior to running it; samples should be run in a non-production or "test" environment.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

About

Sample shell scripts for Intune admins.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%