PowerShell TIP – Exception calling “DownloadString” with “1” argument(s)

Sharing the recent issues that we have faced with some of our older scripts that reads/download XML using System.Net.WebClient and report on system health status.(Ironport) All the scripts suddenly started throwing below error: Exception calling “DownloadString” with “1” argument(s): “The underlying connection was closed: An unexpected error occurred on a send.” On researching on internet…

PowerApps and Microsoft Flow Report

This script that I am sharing today has been requested by our PowerAPPS and flow team to generate a daily report for all PowerApps and Microsoft flows running in the environment. Modules required for running this script: MSOL module PowerApps module You can can install MSOL module using below powerShell command ¬†Install-Module¬†MSOnline and PowerAPPS module…