powershell get all functions code example Example 1: how to I list powershell functions ls function: Example 2: how to I list powershell functions dir function: