Security

PowerShell Strict Mode

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/set-strictmode?view=powershell-7.3

Parameterized Deployment Packages

Always parameterize your installation packages without hard-coding values into it. During the deployment, you can pass the values to the package. A detailed description can be found here:

Add parameters to applications