Event Log – Event IDs

Common Event IDs on Server Side 4624 – An account was successfully logged on 4625 – An account failed to logon 4771 – Kerberos pre-authentication failed 4776 – The domain controller attempted to validate the credentials for an account   Sample Queries <QueryList> <Query Id=”0″ Path=”Security”> <Select Path=”Security”> *[System[(Level=1 or Level=2 or Level=3…

Continue reading

ActiveSync users cannot synchronize an EAS device for the first time in an Exchange Server environment

Symptoms A user cannot synchronize a Microsoft Exchange ActiveSync (EAS) device for the first time. When this issue occurs, the following event is logged in the Application log in Event Viewer: Source: MSExchange ActiveSync Event ID: 1053 Task Category: Configuration Description: Exchange ActiveSync doesn’t have sufficient permissions to create the…

Continue reading

Powerscript: How to Get your Public IP Address

For some reason, you want to write a small script to grab your public IP address and email it to you.  Here is one! $SiteAddress = “http://icanhazip.com” $HttpContent = Invoke-WebRequest -URI $SiteAddress ############################################################### $From = “test@gmail.com” $To = “receipient@gmail.com” $Cc = “receipient2@gmail.com” $Attachment = “C:\temp\Some random file.txt” $Subject = “Email…

Continue reading