diff --git a/Types/Namespace/get_Command.ps1 b/Types/Namespace/get_Command.ps1 new file mode 100644 index 000000000..6bd79edd8 --- /dev/null +++ b/Types/Namespace/get_Command.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Gets the commands in the namespace. +.DESCRIPTION + Gets all the commands in the namespace. + + That is, all aliases, cmdlets, and functions. +#> +if (-not $this.Pattern) { return } + +@( + $this.Alias + $this.Cmdlet + $this.Function +) -ne $null \ No newline at end of file