Gjør som tusenvis av andre bokelskere
Abonner på vårt nyhetsbrev og få rabatter og inspirasjon til din neste leseopplevelse.
Ved å abonnere godtar du vår personvernerklæring.Du kan når som helst melde deg av våre nyhetsbrev.
Embark on a transformative journey into the world of Pester and elevate your PowerShell scripting to new heights of robustness, reliability, and efficiency. This comprehensive beginner's guide provides a hands-on approach to PowerShell testing using Pester, empowering you to enhance your code quality with confidence.The book starts with an introduction to Pester, the powerful testing and mocking framework for PowerShell. You'll gain a solid foundation by exploring Pester's fundamental building blocks. The book guides you through the phases of Pester, helping you write your initial Pester code. You will dive into topics such as tags, assertions with Should and parameter filters, and you will explore advanced techniques such as Test Drive and Test Registry.You will discover the art of mocking in Pester and master its advanced testing methodologies. You will gain insights into working without installed modules and seamlessly integrating Pester with Azure DevOps Pipeline for a streamlined testing process.After reading this book, you will have the knowledge and skills to initiate your own exploration into PowerShell testing with Pester. You will transform your scripts into reliable powerhouses, ensuring the resilience and quality of your PowerShell code. What Will You LearnBuilding blocks and phases of PesterWriting effective Pester testsAssertions, mocking, and advanced testing techniquesIntegration with Azure DevOpsTags, code coverageWho This Book Is ForPowerShell scripters and Pester Framework beginners
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 msiexecUsing PowerShell for detection ruleDeploying using a template for reliable and repeatable deploymentsHow to create the Windows App (Win32) App Who Is This Book For:I.T Professionals who manage application deployments using Microsoft Intune.
Abonner på vårt nyhetsbrev og få rabatter og inspirasjon til din neste leseopplevelse.
Ved å abonnere godtar du vår personvernerklæring.