Jeffery Hicks

Jeffery HicksMVP

google+ iconJeffery Hicks is a multi-year Microsoft MVP in Windows PowerShell, Microsoft Certified Professional and an IT veteran with 25 years of experience specializing in automation. He works today as an author, trainer and consultant.

Clean up user profiles with PowerShell

Monday, June 9th, 2014 - 6 comments

Over the last few articles I’ve been demonstrating ways to leverage PowerShell scripts with Group Policy. You may need to catch up to fully understand everything I’m doing in this article, which uses a PowerShell computer start up script to remove old user profiles. This is the script I will be using:

Access-Group-Policy-startup-script-in-Windows-Explorer_thumb.png

(more..)

Track user logons with a PowerShell script

Friday, June 6th, 2014 - No comments

In a recent article, I explained how to configure a Group Policy that allows you to use PowerShell scripts. This means you can take advantage how everything PowerShell can do and apply it to a user logon or logoff script as well as computer startup and shutdown scripts. Let me give you a practical example that demonstrates how to track user logons and logoffs with a PowerShell script.

Track-multiple-users_thumb.png

Configuring logon PowerShell scripts with Group Policy

Tuesday, June 3rd, 2014 - 2 comments

Logon scripts have been part of IT since the Stone Age it seems. Eventually we were also given logoff scripts for users as well as startup and shutdown scripts for computers. In the past these scripts were often written in VBScript. But now that we have PowerShell, we have another option.

Logon-Logoff-scripts_thumb.png

Configuring AD users and managers with PowerShell

Thursday, May 29th, 2014 - 5 comments

A nice feature in Active Directory is the ability to connect users with managers. On the user account you can manually go to the Organization tab, click on the Change button under manager, and type the name of the user’s manager. When you look at the same tab for the manager you will see the user under Direct Reports. It isn’t necessarily that difficult to manually change users in bulk but probably not very efficient. Let me show you how with the Active Directory module and PowerShell. It is easier than you think.

get-aduser-Configure-the-user_thumb.png

Import users into Active Directory with PowerShell

Monday, March 17th, 2014 - No comments

In my last article I discussed a few techniques for exporting user accounts from Active Directory using PowerShell. The obvious next step is to see how to import user accounts into Active Directory.

Import-CSV-with-PowerShell_thumb.png

Login

Lost your password?