< Back

Set-MyDefault

Sat Jan 18, 2020 4:55 pm

NAME Set-MyDefault



SYNOPSIS

Creates or modifies a value in the MyDefault file in the user's profile.





SYNTAX

Set-MyDefault [-Name] <String> [-Value] <String> [-Force] [<CommonParameters>]





DESCRIPTION

Set-MyDefault creates or modifies a value in the MyDefault file in the user's

profile. The file must be named MyDefaults.xml and can be created by running

the command New-MyDefaultsFile.





PARAMETERS

-Name <String>

Specifies the name of the default value to create or modify.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Value <String>

Specifies the value to assign to the specified default.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]



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



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



PS C:\\>Set-MyDefault DxDatabase wsPowerShell















RELATED LINKS