I am looking for some help, I am relatively new to powershell scripting and I am looking to query a 4720 event which is a new user create on a Windows computer to get the value of the “New Account” area inside the event log details…
Any help would be appreciated.
Welcome to the forum.
What kind of help do you expect? We actually expect you to do your own research to accomplish a given task before you come here to ask for help.
The PowerShell cmdlet to query the event log is
This cmdlet is only available on the Windows platform. The Get-WinEvent cmdlet gets events from event logs, including classic logs, such as the System and Application logs. The cmdlet gets data from event logs that are generated by the Windows Event...
You may read the help including the examples to learn how to use it.
I’d urgently recommend to take your time to learn at least the very basics of PowerShell first. It will save you from a lot of wasted time and frustration.