Find the Module of a cmdlet

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

Vold,
Welcome to the forum. :wave:t4:

With …

Get-Command -Name  Get-PSCallStack

… you should be able to get the source of the cmdlet.

The penny dropped
Thanks