Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in scriptblock

Powershell: Use a variable to reference a property of $_ in a script block

How to write a PowerShell advanced function that can work with both piped in objects and objects get from parameter value?

Powershell create scriptblock for Func<T> instead of Action<T>

Powershell function with multiple scriptblock parameters

powershell scriptblock

For PowerShell cmdlets, can I always pass a script block to a string parameter?

How to pass a named function as a parameter (scriptblock)

powershell scriptblock

Powershell expand variable in scriptblock

Why doesn't $PSItem behave as expected when using a bracket-based -Filter argument?

PowerShell Executing a function within a Script Block using Start-Process does weird things with double quotes

Powershell Start-Process to start Powershell session and pass local variables

Supporting lexical-scope ScriptBlock parameters (e.g. Where-Object)

PowerShell ScriptBlock variable scope

Powershell - how to pre-evaluate variables in a scriptblock for Start-Job

Pass arguments to a scriptblock in powershell

powershell scriptblock