Book description
Learn to deploy simple and complex applications that are beyond the scope of default Intune application deployment scenarios and limitations. This book will help you deploy applications using a PowerShell script.
The book starts with PowerShell Cmdlets to get an understanding of deployment through PowerShell scripts. Next, you will learn how to work with msiexec where you will learn which properties of your MSI can be set and what values can be passed to them, even if you do not know what the properties and values initially are.
Further, you will learn how to install and uninstall a Setup.exe and how to determine the silent switches, along with MSI extraction methods. You will then learn detection rules using PowerShell, including how to detect by registry or application version and build numbers as well as using custom PowerShell detection rules. You will then gain an understanding of the location to run the script. Moving forward, you will go through installinga program by calling MSI or Setup.exe using PowerShell and how to handle spaces in the filenames.
Following this, you will go through how to deploy the various script types in Intune; whether it is a standard script, or if the whole script is a function or contains functions, or if it has an entry point. Deployment Templates and application preparation in Intune are discussed next, along with the process to create the .Intunewin with the Intune Winapp Util. You will then learn how to uninstall previous applications before a new deployment. You'll also be walked through useful snippets and examples of deployment where you will be able to utilize all the aspects of deployment in Intune discussed in prior chapters.
After reading the book, you will be able to manage application deployments and detection rules using PowerShell with Microsoft Intune.
- How to find valid properties and values to use with msiexec
- Using PowerShell for detection rule
- Deploying using a template for reliable and repeatable deployments
- How to create the Windows App (Win32) App
Table of contents
- Cover
- Front Matter
- 1. PowerShell Fundamentals
- 2. MSIEXEC
- 3. Setup.exe
- 4. Detection Rules
- 5. Location, Location, Location
- 6. Installing the Application
- 7. Deploying the Script
- 8. Deployment Template
- 9. Application Preparation
- 10. Uninstall an Application
- 11. Pre- and Post-Code
- 12. Example Scenario
- Back Matter
Product information
- Title: Understanding Microsoft Intune: Deploying Applications Using PowerShell
- Author(s):
- Release date: October 2022
- Publisher(s): Apress
- ISBN: 9781484288504
You might also like
book
PowerShell Fast Track: Hacks for Non-Coders
Create complex scripts in PowerShell and learn how to connect them to cloud services like Azure …
book
Windows Server 2019 Automation with PowerShell Cookbook - Third Edition
Automate Windows server tasks with the powerful features of the PowerShell Language Key Features Leverage PowerShell …
book
Windows Server Automation with PowerShell Cookbook - Fourth Edition
Develop a holistic understanding of Windows Server with over 100 PowerShell recipes Key Features Updated with …
book
Practical Automation with PowerShell
Take PowerShell beyond simple scripts and build time-saving automations for your team, your users, and the …