< Back
Import-DefaultParameter
Post
NAME Import-DefaultParameter
SYNOPSIS
Imports new default parameter values
SYNTAX
Import-DefaultParameter [[-Path] <String>] [-Force] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Path <String>
The path to import default parameter values from (defaults to "DefaultParameterValues.clixml" in your profile
directory)
Required? false
Position? 1
Default value $(Join-Path (Split-Path $Profile.CurrentUserAllHosts -Parent)
DefaultParameterValues.clixml)
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
If set, overwrite current values (otherwise, keep current values)
Required? false
Position? named
Default value False
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
RELATED LINKS
SYNOPSIS
Imports new default parameter values
SYNTAX
Import-DefaultParameter [[-Path] <String>] [-Force] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Path <String>
The path to import default parameter values from (defaults to "DefaultParameterValues.clixml" in your profile
directory)
Required? false
Position? 1
Default value $(Join-Path (Split-Path $Profile.CurrentUserAllHosts -Parent)
DefaultParameterValues.clixml)
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
If set, overwrite current values (otherwise, keep current values)
Required? false
Position? named
Default value False
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
RELATED LINKS