Last week I posted about creating object tables in Powershell. This was mainly for the purpose of being able to use Export-CSV to send the data out to a CSV file. This time I am going to have a brief look at some of the other things you can do with an object table, which… Continue reading Manipulating object tables in Powershell.
Category: Powershell
Creating object tables with Powershell
One of the useful things you get with Powershell is lots of functions that create data tables in memory that you can cycle through using Foreach to get an instance (equivalent to a record or row in a regular database) and then interrogate its properties (equivalent to columns). The Foreach loop automatically steps through all… Continue reading Creating object tables with Powershell
Using Powershell to monitor AD account creation
http://community.spiceworks.com/how_to/76915-automatic-report-about-newly-created-user-accounts-to-an-e-mail Here’s a neat article about how to monitor event logs on a domain controller that cause a script to run whenever a new user account is created. The main limitation I see is it will only work on the DC that the account was created on. We really need a generic one that will… Continue reading Using Powershell to monitor AD account creation