Calling a PowerShell script from within a Windows Batch script

May 26, 2018
batch powershell windows

How do you call a PowerShell script from within a batch script? The following example shows the syntax -

powershell -ExecutionPolicy ByPass -File my_powershell_srcript.ps1

Enable Flash in Chrome for a specific website from the command line

February 15, 2019
flash chrome windows

Clearing the DNS and NetBIOS caches on Windows

May 12, 2018
cache dns netbios windows

Manually removing orphan users from Azure AD

May 11, 2018
azure ad powershell windows