Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
PoshRSJob
1.7.2.7
Private/GetUsingVariables.ps1
Function
GetUsingVariables
{
Param
(
[scriptblock]
$ScriptBlock
)
$ScriptBlock
.
ast
.
FindAll
(
{
$args
[
0
]
-is
[System.Management.Automation.Language.UsingExpressionAst]
}
,
$True
)
}