< Back

Reset-SecurityOption

Wed Jan 15, 2020 2:32 am

NAME Reset-SecurityOption



SYNOPSIS

Reset the value of a security option to its default.





SYNTAX

Reset-SecurityOption [-Name] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Reset the value of a security option to its default.





PARAMETERS

-Name <String[]>

The name of the security option to set.



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

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



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



PS C:\\>Reset-SecurityOption FIPSAlgorithmPolicy



Resets the FIPSAlgorithmPolicy policy to the default value, Disabled.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Reset-SecurityOption 'Interactive logon: Message text for users attempting to log on'



Resets the LegalNoticeText policy to an empty string.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Reset-SecurityOption ForceKeyProtection



Resets the ForceKeyProtection policy to "Not Defined" by removing the associated registry value.











RELATED LINKS