< Back
Get-MyDefault
Post
NAME Get-MyDefault
SYNOPSIS
Looks up the specified value from the MyDefault file in the user's profile.
SYNTAX
Get-MyDefault [-Name] <String> [<CommonParameters>]
DESCRIPTION
Use Get-MyDefault to look up the specified value from the MyDefaults file
stored in your $Profile folder. 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 look up.
Required? true
Position? 1
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
System.String
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-MyDefault DxDatabase
RELATED LINKS
SYNOPSIS
Looks up the specified value from the MyDefault file in the user's profile.
SYNTAX
Get-MyDefault [-Name] <String> [<CommonParameters>]
DESCRIPTION
Use Get-MyDefault to look up the specified value from the MyDefaults file
stored in your $Profile folder. 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 look up.
Required? true
Position? 1
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
System.String
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-MyDefault DxDatabase
RELATED LINKS