Call existing global functions #61
jdhitsolutions
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
I assume you are using $functionEntryGroup = Add-PSRunEntryGroup -Name Functions -Category Function -PassThru
Add-PSRunScriptBlock -Name 'Test ScriptBlock' -EntryGroup $functionEntryGroup -ScriptBlock {
'call your function here'
}Implementing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am assuming that any function defined between the PSFunctionRegistration commands is categorized as a
Function. Is there a way to add to define a function using an existing global function? I know I can useAdd-PSRunScriptBlockbut there's no way to categorize it as a function.Beta Was this translation helpful? Give feedback.
All reactions