< Back
Test-OMPProfileSetting
Post
NAME Test-OMPProfileSetting
SYNOPSIS
Check if a profile setting exists.
SYNTAX
Test-OMPProfileSetting [[-Name] <String>] [<CommonParameters>]
DESCRIPTION
Check if a profile setting exists.
PARAMETERS
-Name <String>
Name of the setting.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByValue)
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 --------------------------
Test-OMPProfileSetting -Name 'SomeSetting'
If SomeSetting exists then $true is returned. Otherwise $false is returned.
RELATED LINKS
https://github.com/zloeber/ohmypsh https://github.com/zloeber/ohmypsh
SYNOPSIS
Check if a profile setting exists.
SYNTAX
Test-OMPProfileSetting [[-Name] <String>] [<CommonParameters>]
DESCRIPTION
Check if a profile setting exists.
PARAMETERS
-Name <String>
Name of the setting.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByValue)
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 --------------------------
Test-OMPProfileSetting -Name 'SomeSetting'
If SomeSetting exists then $true is returned. Otherwise $false is returned.
RELATED LINKS
https://github.com/zloeber/ohmypsh https://github.com/zloeber/ohmypsh