Domain Controllers Warning Event ID 10154

Domain Controllers Warning Event ID 10154

I was getting an error at startup on a new Windows 2008 R2 Domain Controller. Apparently the WinRM attempts to create two SPNs after the startup process.

Since that WinRM runs under “Network Service” account, I was able to fix this warning by granting the “Validated Write to Service Principal Name” permission to the NETWORK SERVICE…

Verifying Domain User Home Directory

Verifying Domain User Home Directory

Some administrators prefer to do everything manually, other automated. I have always preferred to have as much as possible automated or at least set up with a script so the action can easily be repeated without varying end results.

I have written a script which verifies that all users that should have a home folder has one, and that it has the appropriate permissions.

Sending Emails via Powershell

Sending Emails via Powershell

Lately I’ve been setting up a back-end script for one of our customers. The full script creates Domain users, generates passwords and emails the manager/CEO the user information.

This post will only contain the Email function, more functions will be posted later.