We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a991eb5 commit 5b08d4eCopy full SHA for 5b08d4e
Types/Namespace/get_Function.ps1
@@ -0,0 +1,7 @@
1
+if (-not $this.Pattern) { return }
2
+if (-not $global:AllFunctionsOrFilters) {
3
+ $global:AllFunctionsOrFilters = $global:ExecutionContext.SessionState.InvokeCommand.GetCommands('*','Function,Filter',$true)
4
+}
5
+foreach ($cmdPattern in $this.Pattern) {
6
+ $global:AllFunctionsOrFilters -match $cmdPattern
7
0 commit comments