< Back

Register-PSFTeppArgumentCompleter

Sun Jan 19, 2020 6:43 pm

NAME Register-PSFTeppArgumentCompleter



SYNOPSIS

Registers a parameter for a prestored Tepp.





SYNTAX

Register-PSFTeppArgumentCompleter [-Command] <String[]> [-Parameter] <String[]> [-Name] <String>

[<CommonParameters>]





DESCRIPTION

Registers a parameter for a prestored Tepp.

This function allows easily registering a function's parameter for Tepp in the function-file, rather than in a

centralized location.





PARAMETERS

-Command <String[]>

Name of the command whose parameter should receive Tepp.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Parameter <String[]>

Name of the parameter that should be Tepp'ed.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Name of the Tepp Completioner to use.

Use the same name as was assigned in Register-PSFTeppScriptblock (which needs to be called first).



Required? true

Position? 3

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:\\>Register-PSFTeppArgumentCompleter -Command Get-Test -Parameter Example -Name MyModule.Example



Registers the parameter 'Example' of the command 'Get-Test' to receive the tab completion registered to

'MyModule.Example'











RELATED LINKS