وبلاگ بلیان

Understanding Microsoft Intune : Deploying Applications Using PowerShell

جلد کتاب Understanding Microsoft Intune : Deploying Applications Using PowerShell

معرفی کتاب «Understanding Microsoft Intune : Deploying Applications Using PowerShell» نوشتهٔ Owen Heaume، منتشرشده توسط نشر Apress L. P. در سال 2022. این کتاب در 194 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است. «Understanding Microsoft Intune : Deploying Applications Using PowerShell» در دستهٔ برنامه‌نویسی قرار دارد.

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. What You Will Learn: 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 Who Is This Book For: I.T Professionals who manage application deployments using Microsoft Intune. Table of Contents About the Author About the Technical Reviewer Acknowledgments Who This Book Is For Introduction Chapter 1: PowerShell Fundamentals Writing Code PowerShell Cmdlets It’s Okay to Ask for Help Parameters Pipeline The Ten Cmdlets Write-Host Get-Location/Set-Location Get-Process Stop-Process Start-Process New-Item New-ItemProperty Get-Item Copy-Item Test-Path Scripting What About That Help? Try/Catch/Finally If/Else Summary Chapter 2: MSIEXEC Fundamentals View the Help Where Is It? Better to Use $Env: Parameters Installation Silent Install No Restart Uninstall Properties Which Properties Can Be Set? How to Find Valid Property Values Uninstall GUIDs 32-Bit Installations 64-Bit Installations Summary Chapter 3: Setup.exe Discovering the Setup.exe Silent Install/Uninstall Parameters EXEs Have Registry Information Too In-Built Help Internet Search MSI Extraction MSI Extraction Method #1 MSI Extraction Method #2 Example MSI Extraction Summary Chapter 4: Detection Rules Why Use PowerShell? Detection Fundamentals The Microsoft Rules Interpreting the Table In Practice Where Do I Put the Detection Rules Anyway? Silently Continue How Detection Scripts Work Detection Rule Types File/Folder Presence Executable Presence Executable Version Finding the Build Number Registry Subkey Registry Value/Data Pair Why Don’t You Just Silently Continue? Custom Detection Custom File Detection Scenario: Yum-Yum Dog Foods Inc Custom Registry Detection Final Thoughts on Custom Detection Branching By Office Bitness Scenario – Detecting Mimecast Or What? This and This Summary Chapter 5: Location, Location, Location Where Is This Script Running from Anyway? How We Used to Do Things A Better Way File Placement Flat-File Placement Advantages of Using a Flat-File Structure Structured File Placement Advantages of Using a Structured Approach Referencing Files First Things First Referencing Files in a Flat Structure Referencing Files in Subdirectories To Me, To You, and Back Again Code Breakdown Push/Pop-Location Push-Location Pop-Location Let’s Try This Again Code Breakdown Summary Chapter 6: Installing the Application Start Your Engines Please Parameters -FilePath MSIEXEC EXE -ArgumentList Minimum Information -NoNewWindow -Wait Dealing with Spaces Putting It All Together Example 1 – Simple MSI Example 2 – MSI with Properties Example 3 – Setup.Exe Summary Chapter 7: Deploying the Script Sys What Now? Solution 32-Bit PowerShell 64-Bit PowerShell Calling Your Script Standard Script (Top to Bottom) Install Command Script with Entry Point Script with Entry Point (No Parameters) Install Command Script with Entry Point (With Parameters) Install Command Function Function (No Parameters) Install Command Function Accepting Parameters Install Command Example: Deploying a Script Containing Two Functions Remote Server Administration Tools Summary Chapter 8: Deployment Template What It Does The Template The Template – Explained Function 1: Invoke-PreInstallation Function 2: Invoke-PostInstallation Function 3: Invoke-ApplicationInstall Begin Block Process Block End Block The Switch The Template Command Line Summary Chapter 9: Application Preparation Intunewin Download the Content Prep Tool Prepare to Prep Adding the Content Converting the Source Files What’s in a Name? Summary Chapter 10: Uninstall an Application PowerShell to the Rescue In Practice Detecting the Old Application Adding to the Template Summary Chapter 11: Pre- and Post-Code Detect Office “Bitness” Detect Operating System Architecture Obtaining the Current Logged-in Username Copying Files Unstructured Method Structured Method Register/Unregister DLL Files Register a DLL Unregister a DLL Summary Chapter 12: Example Scenario Notepad++ Obtain the Installer MSI Extraction Determine the Install and Uninstall Commands Find the Silent Install Parameter Find the Silent Uninstall Parameter The Application Detection Rule The Uninstall Code Source File Placement The File Copy Code The Deployment Template Application Uninstallation Notepad++ Installation Post-Installation Dry Run Create the Intunewin File Application Deployment App Information Program Requirements Detection Rules Dependencies Supersedence Assignments Review and Create Log File Summary Index 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 installing a 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. What You Will Learn: 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 Who Is This Book For: I.T Professionals who manage application deployments using Microsoft Intune. 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 run the Setup.exe for installation and un-installation of parameters along with MSI extraction. You will then learn detection rules using PowerShell and gain an understanding of the location to run the script. Moving forward, you will go through installing a program by calling MSI or Setup.exe in Intune. Following this, you will go through a demonstration of deploying a script containing functions. Deployment Templates and application preparation in Intune are discussed next, along with the process to create the .Intunewin with tool prep. 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.You will:• Find valid properties and values to use with msiexec• Use PowerShell for detection rule• Deploy using a template for reliable and repeatable deployments• Create the Windows App (Win32) AppWho Is This Book For:I.T Professionals who manage application deployments using Microsoft Intune. 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 run the Setup.exe for installation and un-installation of parameters along with MSI extraction. You will then learn detection rules using PowerShell and gain an understanding of the location to run the script. Moving forward, you will go through installing a program by calling MSI or Setup.exe in Intune. Following this, you will go through a demonstration of deploying a script containing functions. Deployment Templates and application preparation in Intune are discussed next, along with the process to create the .Intunewin with tool prep. 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. You will: Find valid properties and values to use with msiexec Use PowerShell for detection rule Deploy using a template for reliable and repeatable deployments Create the Windows App (Win32) App
دانلود کتاب Understanding Microsoft Intune : Deploying Applications Using PowerShell