Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Easily See the Content of Your Function

$
0
0

Summary: Use the Get-Content cmdlet to read the content of your Windows PowerShell function.

Hey, Scripting Guy! Question How can I see the content of a function that is on on my system, which I did not write?

Hey, Scripting Guy! Answer Use the Get-Content cmdlet and point it to the Function: PowerShell drive. The following example gets the content of the more function.

Get-Content Function:\more


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>