Category: PowerShell
-
How To Cheat With PowerShell
Admit it… you are a crappy coder. You may be a pretty fair IT Professional, but you cannot script your way out of a paper bag. There’s a support group for you. Hi, my name is Mitch, and I’m a lousy scripter. Admittedly I have never been to an AA or NA meeting; I have…
-
PowerShell: HELP!
This is a guest article written by my colleague Michael. Mike and I have been working closely together for the past two years, and I have turned him into a monster! He is now trying to learn anything he can get his hands on. So when he wrote me an e-mail with a suggestion for…
-
iSCSI Virtual Disks: If you have to make a bunch… Use PowerShell!
I don’t mean to sound like a broken record but when you have to do things over and over again, it simply doesn’t make sense to do it manually. Sure, the GUI (Graphical User Interface) in Windows is great… but if you have to click through the same wizard ten times to create ten of…
-
Distinguished Names: How do I…
Yeah yeah, I know… A little while ago I talked about how to determine the Distinguished Name (DN) of an Active Directory Object, and I got a flurry of requests for doing it with PowerShell. Now, normally I do like to show you how to do things via the GUI, and then what the PowerShell…
-
Where am I? HELP!
My colleague created a virtual machine for me in our datacentre a few weeks ago. (Thanks Michael!) Earlier this week I needed to create a second virtual machine to cluster with it, and I felt that the best way to maximize my resources completely would be to create another virtual machine identical to the first. …
-
Insanity Is…
We have all heard this quote before… and it is exactly true. However in your server environment, when you want things identical, then we would turn this phrase around: Insanity: Doing things manually over and over and expecting identical results. I have not spent a great deal of time learning PowerShell… but whenever I have…
-
Do IT Remotely
A few days ago I was in with my boss and he asked me to perform a particular bit of maintenance during off-hours. ‘Just come into the office tonight after Taekwondo and do it… it shouldn’t take you very long.’ He was right, and I almost did… and then I remembered that in 2014 there…
-
Meet Dr. Scripto
While I am sure most of you are not familiar with this crazy character, I suspect a lot of you use the tools that he represents. You see, this is Dr. Scripto. I am not sure which delusional drunk came up with the idea and design of the character, but I think it is a…
-
Standardize your Hosts: Simplify your Life
For several years I have been speaking and writing about desktop deployment to standardize your client system environment. What about your servers? What about your hypervisors? A couple of years ago VMware introduced Host Profiles into vCenter Server which allow you to take all of the settings from one host and then apply them to…
-
Step by Step: Adding the GUI to Windows Server Core
HELP! Mitch, you told me that I should learn Server Core and I am trying, but you also told me that it wasn’t a problem to add the GUI back into a Server Core machine if I really needed it. How do I do that? This is a question I have gotten a few times…
-
Building the IT Camp with PowerShell Revisited
I always said I am not hard to please… I only need perfection. So when I wrote my PowerShell script to build my environment the other day I was pleased with myself… until I realized a huge flaw in it. Generation 1. Actually to be fair, there is nothing wrong with Generation 1 virtual machines…
-
Building an IT Camp with PowerShell
I have been telling people for a couple of years that if they want to ensure a good future in the IT field there are two things to learn: System Center and PowerShell. I unfortunately am quite good with one, but have been referring to myself as a scripting luddite for quite some time. It…
-
Managing Hyper-V Virtual Machines with Windows PowerShell
Warning: The following post was written by a scripting luddite. The author readily admits that he would have difficulty coding his way out of a paper bag, and if the fate of the world depended on his ability to either write code or develop software then you had better start hoarding bottled water and cans…
-
Windows 8: Keeping it Clean!
While I am usually fond of the extra apps that Microsoft puts into Windows 8, I know that for most IT environments they will be more of a hassle than anything. The following is the PowerShell script that Ben Hunter (SOLUTION ARCHITECT, Desktop – Microsoft Corp.) uses to remove the built-in applications. Of course, you…