CyberPolice

An epic windows securing and hardening script
Log | Files | Refs | README

GPOReport.ps1 (452B)


      1 Write-Host "CYBER POLICE [Covert Ops] are now going to generate reports on this system's GPOs..." -ForegroundColor Magenta
      2 $thispath = Split-Path -parent $MyInvocation.MyCommand.Definition
      3 $path = Split-Path -parent $thispath
      4 $output = Get-content $path/CyberPoliceOutput/gpoInfo/gpoReports
      5 Import-Module GroupPolicy
      6 Get-GPOReport -All -ReportType HTML -Path $output
      7 Write-Host "The CYBER POLICE [Covert Ops]: End of operation" -ForegroundColor Magenta