https://tutorialscart.com/powershell-functions-for-advanced-automation/
PowerShell Functions for Advanced Automation