< Back

Set-NetSessionEnumPermission

Sat Jan 18, 2020 5:00 pm

NAME Set-NetSessionEnumPermission



SYNOPSIS

Set the hardened Net Session Enumeration permissions





SYNTAX

Set-NetSessionEnumPermission [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Set the hardened Net Session Enumeration permissions:



TranslatedSID SecurityIdentifier AccessMask AceType

------------ ------------------ ---------- -------

NT AUTHORITY\\BATCH S-1-5-3 2032127 AccessAllowed

NT AUTHORITY\\INTERACTIVE S-1-5-4 2032127 AccessAllowed

NT AUTHORITY\\SERVICE S-1-5-6 2032127 AccessAllowed

BUILTIN\\Administrators S-1-5-32-544 983059 AccessAllowed

BUILTIN\\Power Users S-1-5-32-547 983059 AccessAllowed

BUILTIN\\Server Operators S-1-5-32-549 983059 AccessAllowed





PARAMETERS

-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:\\>Set-NetSessionEnumPermission -Whatif













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



PS C:\\>Set-NetSessionEnumPermission -Verbose -Confirm:$false















RELATED LINKS