Set-PSConfigFileExecution

SYNOPSIS

Adds functionality to add the execution to your profile.

SYNTAX

Set-PSConfigFileExecution [-PSProfile <String>] [-DisplayOutput] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Adds functionality to add the execution to your profile.

EXAMPLES

EXAMPLE 1

Set-PSConfigFileExecution -PSProfile AddScript -DisplayOutput

PARAMETERS

-PSProfile

Enable or disable loading of config when your ps profile is loaded.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: AddScript
Accept pipeline input: False
Accept wildcard characters: False

-DisplayOutput

Will add the DisplayOutput parameter when setting the invoke command in the profile.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES