Hello,
I would like to get all the functions in a single .ps1 file and was wondering if that is possible.
For example if I do the following, get-command -type function it will return ALL functions but I only want to return the ones is a specified .ps1 file
So something like get-command C:\WindowsPowerShell\my.ps1 -type function
I am pretty new to PowerShell so any help would be greatly appreciated.
Thanks,