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…

Microsoft Teams Report for Office 365 Tenant

As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script) Microsoft Teams Report for Office 365 Tenant This requirement came from our management to extract the Teams report across our tenant. Fortunately in the latest team module released by Microsoft, you can extract all the…

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…