Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can event log be disabled when use DSC? #4769

Open
hyyin opened this issue Jun 17, 2024 · 1 comment
Open

Can event log be disabled when use DSC? #4769

hyyin opened this issue Jun 17, 2024 · 1 comment

Comments

@hyyin
Copy link

hyyin commented Jun 17, 2024

Hi guys,

I'm not sure if this is one stupid question, but it real matters to my scenario:
Can event log output of DSC be disabled?

Thanks for your help!

@andikrueger
Copy link
Collaborator

Right now there is no option to disable logging into the event log. The log engine though does. Heck if the event log is available on a system.

Could you outline your use case a bit more?

PowerShell DSC would generate a log anyways in the event log. Are you using M365DSC solely for export tenant configurations or also to update settings in a tenant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants