< Back

Add-BuiltInPrompt

Sun Jan 19, 2020 5:35 pm

NAME Add-BuiltInPrompt



SYNOPSIS

Adds a built-in prompt.





SYNTAX

Add-BuiltInPrompt [-Name] <String> [-PromptElements] <ScriptBlock[]> [<CommonParameters>]





DESCRIPTION

Adds a prompt to the built-in prompts list.





PARAMETERS

-Name <String>

The name of the new built-in prompt.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PromptElements <ScriptBlock[]>



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>















RELATED LINKS

https://github.com/jimmehc/PromptEd





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Add-PromptElement; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Add-PromptElement [-PromptElement] <scriptblock> [[-Index] <int>] [<CommonParameters>]



ModuleName : PromptEd

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Add-PromptElement

Category : Function

Component :

Role :

Functionality :