So far, most scripts in this book are backend scripts (e.g., ones you would run locally, on a dedicated machine, or shared with others familiar with PowerShell). However, this is not always the case. PowerShell can assist others in your organization who may not even know what PowerShell is. In this chapter, you will see how you can build and design PowerShell automations to help not just yourself but the entire organization.
In this chapter, we will cover two main scenarios related to end-user scripts. The first is providing an automation mechanism to the business. A very common example of this is user account provisioning and deprovisioning. There is a wealth of resources out there on creating users in Active Directory, Exchange, Office 365, and other environments. But you cannot just provide HR a copy of a PowerShell script and expect them to know how to execute it. Instead, you will want to give them a frontend interface to submit requests for automations.