Automate your mundane
IT Tasks using our pre-made,
ready-to-run scripts.
Slider

E-mail notification when new device gets added (Script 1)

This is part 1 of a two-part Script. The email ID you mention will get an email every time a new dev(a new computer account) gets added to the domain.

Syntax

Download Full Script

EventID: 4720
Source:
MachineName:
Message: A computer account was created.

Subject:
Security ID:
Account Name:
Account Domain:
Logon ID:

New Account:
Security ID:
Account Name:
Account Domain:

Attributes & Additional Information

Share Script:

Purpose:By running this script you'll get an email notification everytime a user account gets created in the domain
Modification:Add SMTP, Email ID and
Type:PowerShell (.ps1)
Compatibility:Run with PowerShell
Tags:Notification, E-mail, New Device, New Computer account
Reference link: