Skip to content

Instantly share code, notes, and snippets.

@Kaidja
Created July 6, 2021 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kaidja/c2b76118ecbd20aa708ebddbd1fc9a3a to your computer and use it in GitHub Desktop.
Save Kaidja/c2b76118ecbd20aa708ebddbd1fc9a3a to your computer and use it in GitHub Desktop.
Configuration ENABLEDSCPRINTSPOOLERLOGCONFIG {
Import-DscResource –ModuleName 'ComputerManagementDsc'
Node StandardConfiguration {
WindowsEventLog EnablePrintServiceOperationalLogs
{
LogName = "Microsoft-Windows-PrintService/Operational"
IsEnabled = $True
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment