PowerShell – Script blocks and Invoke-Command
In our previous articles, we have discussed PowerShell Scripts and PowerShell Functions. PowerShell provides Script blocks also to group the commands and invoke them when required. In this article, we will discuss PowerShell Script blocks. Script block in PowerShell Script blocks are the group of related PowerShell commands and will be executed on demand. Script […]