/images/ducttape.png

Its been a while...

Hey guys and girls, Unfortunately I haven’t really had much time to blog due to some busy times [work, work, work, family, friends, work], but I’ll try and update more regularly with the content I use at my daily tasks. This might mean that I will also end up posting some non-PowerShell related posts in case I think they’re interesting enough for other people. Judging by personal experience the last few weeks, I will also try and post some “checklists” which I found out for recent cases at work, simply by combining multiple articles and/or Best Practice guides.

Experts Live 2015 - tickets tickets tickets!

Step right up, step right up….A quick post on behalf of my colleague, 365Dude, who’s presenting a session at this year’s Experts Live 2015. He still has 3 tickets available in case someone is interested in going to this year’s convention, November 19th. Be sure to drop him an e-mail if you’re interested in going! And even if you’re not interested in an Office 365 session, have a look at the program to see what might else be of your interest!

Script Dumpster: Find default AD containers for Users and Computers

The ProblemHave you ever created a new user or computer object, but you’re unable to find them in the Default Computers/Users container? Perhaps someone moved the default location to another Organizational Unit [i.e. to make sure GPO’s applied correctly] . In this case a quick and simple script will check which containers are configured for this task and it will check if they’re using default values or not. The Script 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 <# .

Lab: Configure PowerShell WebAccess for management

Now that I have my Lab configured and set up to accept remoting from my Client machine, I want to set up a small Hyper-V lab onto this Host. Since my goal is to manage as much as possible through PowerShell, my current setup will run into the following problem: I can remote into my lab host, but due to single-hop remoting, it is not recommended to daisy chain sessions.

Script Dumpster: Online-ADComputers

The ProblemToday I ran into something simple….but I just wanted to get it solved through PowerShell and make the solution re-usable. We had found a machine in Active Directory which didn’t turn up in the physical inventory check… And worse of all, the machine was active! The ScriptThis script simply checks if machines with a specific name [or in a specific OU] is online at the moment. If it’s online, it will try and figure out who’s actually logged on to the machine.

Script Dumpster: Merge-CSV

The ProblemA customer required the inventory of product keys for various products on all network systems. I had used a tool which scanned all machines and nicely produced a .csv file for each machine it had scanned. Ideally I wanted to have a single .csv file which I could then filter against, either using Excel or PowerShell. The FunctionCheck the examples notes on how to use the function. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 function Merge-CSV{ <# .