Microsoft

A PowerShell “script block” is the base level of executable code in PowerShell. It might represent a command typed interactively in the PowerShell console, supplied through the command line (“PowerShell –Command ”), or wrapped in a function, script, workflow, or the like. ................
................