Deploying Dependency, MMA Agents and Update Microsoft Monitoring Agent Configuration This script was created to help our customer needs…