< Back
Add-OMPProfileSetting
Post
NAME Add-OMPProfileSetting
SYNOPSIS
Adds a new setting to the user profile settings if they do not already exist. Afterwards the profile is
automatically exported and saved.
SYNTAX
Add-OMPProfileSetting [-Name] <String> [[-Value] <Object>] [[-NoProfileUpdate]] [<CommonParameters>]
DESCRIPTION
Adds a new setting to the user profile settings if they do not already exist. Afterwards the profile is
automatically exported and saved.
PARAMETERS
-Name <String>
Name of the setting
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Value <Object>
Value of the setting.
Required? false
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NoProfileUpdate [<SwitchParameter>]
Skip updating the profile
Required? false
Position? 3
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
NOTES
Author: Zachary Loeber
-------------------------- EXAMPLE 1 --------------------------
Add-OMPProfileSetting -Name 'CustomSetting' -Value 'MySetting'
RELATED LINKS
https://github.com/zloeber/ohmypsh https://github.com/zloeber/ohmypsh
SYNOPSIS
Adds a new setting to the user profile settings if they do not already exist. Afterwards the profile is
automatically exported and saved.
SYNTAX
Add-OMPProfileSetting [-Name] <String> [[-Value] <Object>] [[-NoProfileUpdate]] [<CommonParameters>]
DESCRIPTION
Adds a new setting to the user profile settings if they do not already exist. Afterwards the profile is
automatically exported and saved.
PARAMETERS
-Name <String>
Name of the setting
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Value <Object>
Value of the setting.
Required? false
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NoProfileUpdate [<SwitchParameter>]
Skip updating the profile
Required? false
Position? 3
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
NOTES
Author: Zachary Loeber
-------------------------- EXAMPLE 1 --------------------------
Add-OMPProfileSetting -Name 'CustomSetting' -Value 'MySetting'
RELATED LINKS
https://github.com/zloeber/ohmypsh https://github.com/zloeber/ohmypsh