Hello Gurus
I want to use intellisense on $frame, to see if the method Command exists, see below.
$trace = Get-PSCallStack
foreach ($frame in $trace){
$frameName = $frame.Command
$stack += $frameName
}
Correct me if I’m wrong but,
for intellisense to work,
the module that Get-PSCallStack is in has to be loaded.
Question: How do I find the module that Get-PSCallStack is in.
Thx in advance
Vold