Test-PodeInRunspace
SYNOPSIS
Tests if the scope you're in is currently within a Pode runspace.
SYNTAX
Test-PodeInRunspace [<CommonParameters>]
DESCRIPTION
Tests if the scope you're in is currently within a Pode runspace.
EXAMPLES
EXAMPLE 1
If (Test-PodeInRunspace) { ... }
PARAMETERS
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.