0

I just wonder how I can show the currently applied Security-Policy (not Group-Policy) from a machine from the command-line.

i know i can show the current applied Group-Policy with gpresult using

gpresult /r

Is there an equivalent for the security-policy? commandline or powershell? I do not want do use secpol.msc, because I need something for the commandline.

0

Why not just use SecEdit.exe, or LGPO.exe or download an use the PolicyFileEditor module from the MS PowerShellGallery.com

Manage Local Group Policy Objects from PowerShell and Desired State Configuration

Find-Module -Name 'PolicyFileEditor' | 
Format-Table -AutoSize

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.