Home » Article
Category Archives: Article
Distinguished Names are pretty simple, right? Well… it depends on several factors. To figure out the DN for swmi.ca it is… dc=swmi,dc=ca. An Organizational Unit is not much harder… Let’s take an OU called Toronto in the swmi.com domain… ou=Toronto,dc=swmi,dc=ca. Simple.
But what happens when we add a little complexity to our environment? Say… OUs within OUs, and domains within domains? Here’s an example:
OU: Ontario – Toronto
Okay, this is a little more complex… but it’s actually pretty easy, once you know what you are doing.
See? That’s not that much harder than the simple Distinguished name…it’s just longer.
Spaces… what happens when you add spaces into the names of your OUs? Of course, the space is not a valid character in a domain name, but there is nothing stopping you from putting them into your OU names. You know… aside from common sense ;’)
We know that in PowerShell (and most scripting- and command-line interfaces) you have to put quotes around names that have spaces. But when I run a PowerShell script that includes the DN of an object, it will already have quotes around it… do I have to double-quote?
No. Distinguished Names do not change because you are scripting. So let’s look at an example:
OU: Ontario – Toronto – File Servers
Take a deep breath… relax, and let’s do what we did before…
We can go on and on with this game… one particular client that I am working with right now has a domain with OUs embedded six levels deep. It is crucial that I get the DN right when I am scripting… refer to my article on Failover Cluster OUs and you will see why. My clusters must be placed in the right place. So I spent the time to make sure I had it right… and it worked!
…So what if you are hesitant, unsure, unconfident? Before you run your script, run a simple command to test it:
dsquery ou “OU=File Servers,OU=Toronto,OU=Ontario,DC=Canada,DC=swmi,DC=ca“
A simple dsquery should return the following response:
Now this isn’t very exciting… it is just parroting back to me what I said, right? Well know that the alternative is an error message (dsquery failed: A referral was returned from the server, or dsquery failed: Directory object not found) and not getting that is golden.
Distinguished Names can be intimidating… but with a little bit of knowledge, you should be on easy street!
I want to thank you for continuing to build applications and programs and other software that makes my life better. As an Infrastructure Specialist I feel my kind and your kind have developed a nice symbiosis over the years – I build the environments on which your solutions run, and you make my infrastructure more than just a pretty face. This has allowed us (in collaboration with our good friends, the DBA types) to deliver solutions to our users that make their lives easier.
We have come a long way from the time when WordPerfect consisted of a single file, and that all of what we did ran off individual floppy disks. As the solutions get bigger, it is understandable that, at least under the hood, they are going to become more complex. So I get why I have had to step up my game in a lot of aspects. My environment will be as complex as you need it to be, while remaining as simple as it can be.
There are times though when I think you are taking a simple path, and that path of yours can complicate my life. I will give you an example:
I have been testing a particular monitoring solution for one of my customers. It is a solution that I suspect will make my life easier, so I decided to install it. Okay so far.
And then I needed to uninstall it. It wasn’t that I didn’t like the product, it was that I hadn’t checked on some of the requirements, and rather than trying to adjust them later on (or live with them). I opened the Uninstall or change a program window, and poof… there were suddenly 25 ‘programs’ that I needed to uninstall… one by one.
Before you say it I know… some applications have an Uninstall program which will clean your system of every last remnant of its installation. Most don’t. So when I uninstall one component, I have to uninstall all of them, lest the installation program see that the remnants are still there, and not re-install properly later on.
I understand you think I am asking a lot of you. After all, what is 20 minutes of my pressing ‘Uninstall’ over and over again in the grand scheme of things? Well here’s the thing… when I have to do it five or ten times (whether I am testing it or writing about it or whatever) it can really add up. With that said, how difficult would it really be for you to create an installation log that an Uninstall application can follow?
What about Snapshots and Checkpoints Mitch?
Ah, that is a good point… Virtual Machine Snapshots (and Checkpoints) do give me the ability to go forward and then back out to that point… but I have to know in advance that I am going to go through the uninstall-reinstall dance… and when your application links to an external database on a different machine they are often rendered useless.
So if you feel I am being unreasonable, please understand that is not my intention. I just feel that a little extra effort from you could go a long way to making my life a little easier.
But we don’t want you uninstalling our applications! Use them!
That is another great point… but I assure you that if I create a server specifically for your application (as I did in this case), if I decide to NOT use your application then uninstalling it will not be an issue, I will simply blow the server away. I want to use your applications, that is what makes my environment shine. This will just help me a little bit more.
I can honestly say that I don’t think I have ever made New Year’s Resolutions… at least, I have never written them down. At the end of 2014, my annus horribilus, I am looking forward to a spectacular 2015.
Yesterday afternoon – December 30th – I was looking at my dashboard on www.asana.com – a tool that my boss recently introduced into our organization that helps us to keep track of our tasks – and realized how much I have been able to accomplish in the month or so since he introduced it. Don’t get me wrong, I was probably almost equally productive in the previous months… you know, when I wasn’t distracted by illness, my separation, my parents’ separation, kids’ illnesses and whatnot. It’s just that this tool not only helps me to track what I need to do, it helps me to stay focused on those tasks. It is a tool that, going forward, I will be using more and more.
What my focus on Asana reminded me of on that particular afternoon reminded me of the old truism – if you fail to plan, you plan to fail. I have thought to myself several things I want to do in 2015, and so maybe putting them down on paper (yes, I still refer to my blog as ‘on paper’), and try to remember them so that I do not lose focus. I am planning out several goals for 2015, and I plan to succeed.
There are some changes coming in the next few weeks that I am not prepared to share yet. However the abstract of it is that I plan to continue to grow professionally, grow my knowledge, my network, and my reputation. I have a couple of certifications that I have been putting off completing and I was challenged by my friend Sharon last night to complete them. Additionally I have to renew a couple of certifications, and I should do that.
I plan to re-focus the main theme of The World According to Mitch back to IT. Does that mean I am going to stop talking about topics such as Weight Management, Martial Arts, and my personal observations? No… some of those will stay on that blog, but the Weight Management component is being moved to a new blog that I have created. Going forward I am going to invite my readers to subscribe to my second blog if they want to follow that side, and this one if they are interested chiefly in IT.
I plan to deliver to my readers the high quality and relevance you have come to expect from my blog over the past decade. Wow… I can’t believe it’s been nearly a decade since I started blogging.
I have been asked by some if I plan to try to get re-awarded by the Microsoft MVP program. The answer is that I have no such plans. I will continue to participate in technical communities, and contribute by way of blogging, articles, and speaking engagements. However I never really stopped doing any of that. If Microsoft does not feel that my contributions warrant an award, then I will do it for the same reason I have always done it – to help the communities.
I think I need to be a better father than I have been to my children. That is not easy for me, and I am not sure how I will do it. Spending time with my younger son is easy, but my older son has school, works, has homework, friends, is probably dating, and so on. I am going to continue to try to figure that out.
I need to be a better provider. The last year my finances have been a disaster, and as such when I moved out of the house into my condo I was not able to pay all of my bills and meet all of my financial obligations to Theresa and the kids. Fortunately I think I know how I will be able to do that starting in 2015, and that is my goal… in addition to paying down all of my debts and credit cards and bills.
Most of you are by now aware that my wife and I separated this past year. In 2015 I hope to continue the healing process. It is not easy, but I will continue to grow.
I started to lose weight in 2014… and not because I stopped eating from stress and depression (were that only the way my mind and body worked I assure you that by now I would be a lithe 215lbs). Since I started the journey I have lost about 40lbs, and I plan to continue on this path (although December has been a total clusterf*¢k in that regard). I am hoping to lose another 70-90lbs in 2015.
I decided in June of this year that it was time for me to start training for my 3rd Dan Black Belt… but I was wrong. Before I was able to do that, I realized I needed to get myself back up to the level befitting a 2nd Dan Black Belt. I needed to refresh my memory of all of the patterns that I needed to earn my 1st and 2nd Dan Black Belts. While I am not entirely there, I feel that I am now at a place where I can begin to spend the next five months in training and preparation, and to test for my next belt in June. Whether I am ready in June or not, I plan to earn it in 2015.
I plan to continue to teach, and to improve as a Taekwondo instructor. Under the tutelage of my Masters I will continue to try.
There are a lot of other things I would like to do, but I don’t think I am going to over-commit. I hope that I am able to do what I have outlined here, and hopefully more. As John Lennon said ‘Life is what happens to you while you’re busy making other plans.’ I think what I have outlined here is reasonable, achievable, and with a little luck a year from now I will be able to look back at this list and smile, and say ‘Mission Accomplished!’
Happy New Year to all of you!
Are there problems with it? Yes.
Do I absolutely love it? I love my kids and my dogs… but I suppose I do like it as much as I have ever liked a laptop or tablet… and I have had quite a few of them over the years!
What are the problems? There is really only one that you should be aware of if you are thinking of going out to buy one. It’s the patches and the battery.
How, you may ask, do patches and batteries wind their way into a single problem? Simple… as you probably know, everything in computers is managed by software drivers… and that includes the battery to some extent. When you buy the device (or any device) you are prompted to apply patches, and at this point a couple of them for the Surface Pro 3 are firmware updates. You apply the first one, and then you have a problem…
…Windows tells you there is no battery detected. Worse, if you unplug the device it shuts off immediately. The firmware update actually tells the computer that there is no battery installed.
BUT THERE IS! Wait a minute! I was using it unplugged just a few minutes ago! Where did it go? Oh… I get it! The pesky firmware is what screwed me up. Let’s check to see if there is ANOTHER firmware update. Plug it in, connect to the Internet, run Windows Update… By Jove, there it is! Install it, and presto changeo, there’s my battery!
…and what a battery it is! My original Surface Pro probably gave me 3 hours of battery (with Hyper-V and a bunch of other things draining it). The Surface Pro 2 was probably closer to 5. The Pro 3? I haven’t had it run dry on me yet… for the first time in my laptop-owning life I am not afraid to leave the house in the morning without the charger.
THE SCREEN BOSS, THE SCREEN!
(Imagine the voice of Hervé Villechaize if you would…)
Yes, there are a lot of improvements over the Surface Pro 2, but wow I never would have imaginged that the 1.4″ difference in screen size (12″ over 10.6″) would make that much of a difference. As I told you recently I have an external 16″ screen that I keep in the trunk of my car so that I can have the dual screen experience on the go. I don’t know that I have pulled it out once since I got the Pro 3… the combination of the slightly bigger screen and the much improved screen resolution make the extra screen redundant… at least when I am on the go.
Don’t get me wrong… the day the Pro 3 docking station is available I am buying it – I have pre-ordered it from the Microsoft Store, and I have the voucher for it (from something else I returned). All I need is the e-mail saying it is in… and I expect that to be around the same time the remaining Surface Pro 3 models (with the Intel i3 and i7 CPUs) are released, sometime in August. When I am at home (or an office) I will still want the multi-screen experience. On the go? Not necessary anymore.
A lot of people are saying I should have waited for the Intel i7 version, but the reality is I have not found myself lacking. The Surface Pro 3 runs everything I need it to with 8GB of RAM and the Intel Core i5 CPU, and frankly I don’t want to spend the extra money (the i7 version will come in two models – 256GB storage for $1,599, and the 512GB model for $1,999. Too rich for my blood, but thanks!
I am asked pretty often (including 3 minutes ago, as I sit at the Microsoft Store in Square One Mall blogging) whether the Surface Pro 3 is really a laptop replacement. The answer, as with everything, is that it depends. I would think that for the vast majority of people the answer is yes. If you are a true hard-core gamer? Maybe not; there are some gamers who need more than 8gb of RAM. If you are a coder? I have a friend who is a programmer who needs to run virtual machines running more than 8gb of RAM at all times. (Did I mention that I LOVE the fact that it runs Hyper-V? Well I do…). Aside from them? I don’t know too many users – even power users – who need more than 8gb of RAM ever, not even occasionally. For them (like myself) I would say that this is the device for you.
If you are in the Greater Toronto Area come down to the Microsoft Store at Square One or Yorkdale Malls to check it out! :)
As some of you know I recently moved into a new condo. Unlike my previous living arrangements, I will be living here alone… although my children will visit, they (and the dogs) will be living with their mother.
You all know me as a Windows guy, and that has not changed; however there are so many aspects to Microsoft Windows that there are few (if any) who know and use all of it. Until the motherboard fried I did for a time use a Windows Media Center PC as my main TV controller, however after it died my wife (whom I married before the PC fried) suggested we just get a PVR from out Cable TV provider… and although the motherboard was replaced under warranty, I never did rebuild it as a Media Center.
Over the past couple of years I have heard a lot of talk about people ‘cutting the cable’… simply watching all of their TV over the Internet. While I know that works fine for a lot of people, I am simply not there. I like to sit on the couch with the remote control in my hand and channel-surf. Call me old fashioned. I also know that with my younger son (he is four and a half) it behoves me to have a TV with Disney Junior and whatever other channels he watches, lest his visits be very short and sweet. So when I confirmed where I would be moving to, I called Bell Canada. I know, they suck… just like all of the other providers. Well my youngest loves the Fibe experience, so that is what I plan to get, along with a decent Internet package.
Here’s the problem… Bell Fibe TV is not available in all areas. I am assured by a friend of mine on the inside that more often than not this is no longer a technical issue, they just roll out the marketing machine before they begin to offer the service. So while I was able to get a decent Internet package (not spectacular, but I won’t be running servers anymore) for a good price, I was told that Fibe would not be available for a few more weeks… and in the meantime would I be interested in subscribing to their satellite service? <No, what kind of idiot would make that deal knowing that the better service was coming in a few weeks?>
So the condo is taking shape; on Saturday my older son and I raided Ikea, and my living room is completely arranged. On Sunday a buddy helped me move (read: disassemble, move, and then reassemble) my desk, and now my workstation is just about the way I like it. And of course the technician from Bell Canada came Sunday morning, and after a little bit of confusion he got my Internet and Wi-Fi signal up. But here’s the issue… while I have a TV, couch, and everything I need to watch TV in the living room… I have nothing to watch. Doh!
Wait a minute… I remember when I bought the TV a friend of mine advised me to get one that supported DLNA (Digital Living Network Alliance). I even remember paying extra for a USB Wi-Fi adapter for the TV. Maybe now was a good time to see if I could get that voodoo to work. Remember… I’ve set up thousands of Windows 7 and Windows 8 machines before… but I have never set up a home group!
It took a little bit of figuring out – of course my computer was already connected to the network, but I had to configure my TV on the wireless as well, and that took some figuring out. However once it was done, all I had to do was tell my Windows homegroup to recognize the device, and to share my movies, music, and pictures with it. Voila, this evening I watched movies in the living room on a TV that wasn’t actually connected to anything!
What about Netflix & Xbox?
Yes, I do have a Netflix account, but so far I haven’t figured out how to watch it on the TV – of course, I can just take my table and plug the HDMI cable into the TV directly, but that is cheating. In a month or two I will by an Xbox One and that will be my main Media Center (including Netflix, DVDs, and BlueRay), but for the time being I am okay being able to watch the movies I have stored on the computer. However I do think I am going to have to figure out a good way to sort the movies… but that’s next week’s problem :)
I used to say to my audiences that while the number of jobs in IT will go down, the best will always be in demand. I then spent several months essentially unemployed.
The IT field has changed dramatically over the course of the last few years. I suppose it is natural for an industry as young as ours to evolve drastically and violently… but I didn’t expect it would happen to me. When I did find a job I was relieved to say the least.
During the time when I was looking I noticed that a lot of people turned their backs on me. I thought for a while it was personal, but I have realized that people in our field are becoming a lot less secure than they were even a year or two ago… yes, some of the people who disappointed me did it out of malice or jealousy, but I have realized that there are also a lot of people who have realized that if they are not protective of what they have, someone else might get it.
I am not naming names… but one of the people who didn’t turn his back on me – someone who commiserated, and did everything that he could to help me – pinged me this morning telling me that he had been let go. I know that a few months ago I had counselled him on a position at Microsoft, but realized before I even replied (because of time zones it was the first message I saw this morning) I realized that while I remembered him telling me that he found something, I had no idea where it was. I suppose now it doesn’t matter… he’s not there anymore, and through no fault of his own.
There are a lot of reasons for someone to leave their company… often they will leave because of a better job offer elsewhere (I e-mailed a friend at VMware Canada last week and the message bounced… he turned up at Microsoft Canada this Monday). Sometimes we are just fed up, and we leave of our own accord. Of course there is also the termination for cause, and we all hope to avoid that.
All of those are reasons we could have done something about… but when the company simply cannot afford to pay us anymore – they don’t need five IT guys and are downsizing to three, or the project we were hired for was cancelled – it can come as a shock… we did nothing wrong, and there was nothing we could have done to prevent it. We’re just… gone. This is a lousy situation.
A few years ago when I went to the US border to apply for my TN visa so that I could work in that country. Please remember that US border agents are quite loyal, and very protective of their country. I was trying to explain to the agent what I did as an IT Pro helping companies to virtualize did. After a few minutes he said to me ‘Let me get this straight: you want me to let you come into my country to teach companies how they can become more efficient and need fewer American workers.’ I could feel his eyes boring into me like lasers. But the truth is I always felt that the students who learned from me would always be safe, because I was helping to prepare them for the inevitable shift in the industry. And yet there I was, looking for work… for a long time.
The friend who pinged me this morning was one of those students… I taught him virtualization and System Center, and those are two very important skills to know. But how do you prepare yourself for the company canceling the project? It’s not easy.
I have said for years that one of the worst advancements in IT with regard to the IT Pro field was the advent of Microsoft Windows. In the days of DOS, Novell, and AccPac computers were a mystery to most people, and it was only the real IT Pros who could make sense of everything for the masses. With Windows `Press Here, Dummy!’ interface myriad people figured it out, and started calling themselves IT Pros. Some of those people would eventually learn what was really under the hood, get certified, and thrive… but a lot of them did a lot of our customers a disservice and made those people and companies distrust the entire profession. I see that coming back to haunt us even worse, in a time when automation and virtualization are making thing easier for the fewer IT Pros needed, we are living through the worst of times for the profession.
What is the solution? I don’t know… but I do know that we can’t put the genie back into the bottle, and it is going to get worse before it gets better. I hope we are all able to weather the storm.
This week-end I lambasted a friend who hosts/produces a radio show about travel for posting that a particular hotel chain wanted to appear on his show to discuss his product, but refused to provide a free stay in exchange for the privilege. I also told him that I know the entire industry works that way, and that I was not holding it against him. My comment:
it is unfortunate that every single travel (and most sales-type) shows think it a given that they have to be pay for play… because of that we the general public cannot trust any ‘review’ on these shows because they are all just paid ads (at best) and whoring at worst. No restaurant review, travel review, or product review will ever be honest if the product is given to the hosts as a prerequisite and barter for air time. This is NOT limited to ‘<our show>, believe me… I know it is all of them.
We had a bit of a back and forth about it, and he ended by saying that in a perfect world he would rather companies pay for advertising, and he pay for their product (or stay home). I respect that.
Here’s the issue though… If it is true that every travel show works like this (and It seems they do) then how can you ever trust that a place is worth visiting? In the same vein, in the IT industry, how can you trust a site that only gives positive reviews to products that are given to them?
Take, for example, my blog… www.garvis.ca. If you are not familiar with it you will be interested to know that (unless I have been quoted or plagiarized) you are currently on it. I write product reviews from time to time, but I have a policy: Verum quod integrity primoris (Truth and integrity first). However I also do not believe in bad-mouthing products for no reason. I may not like it for personal reasons, but it takes a lot for me to actually badmouth a product.
With that being said, when I am asked to write a review I make them the following deal:
- They have to provide me with the product. If it is hardware then they cannot be loaning it to me, and if it is software they must provide me a complete, non-time-bombed license.
- I will work with it within 30 days of them providing it to me. If I am going to write a review it will go up within 45 days, or on an agreed upon date.
- If I do not like the product, I will not write the review. What I will do, however, is provide feedback to the company as to why I don’t like it. This will be done in the same promised time frame as I would have written the review
If you ever wonder why you never see negative reviews on my blog, that’s it. I do not consider my site to be a place for ads, a profit centre, or anything of the sort. However I know there are a lot of sites and shows that don’t work that way… and I respect that, but I wish they would let their listeners and readers know that up front. ‘Hey, this site is a pay for play site, and any product that we promote has paid us to do so, either in cash or product.’ At least that would let them know the truth… and more pointedly, when they badmouth a product (either on their show or site, or on any social media) they should be very clear that they are not doing so because the product is bad, but because they refuse to play ball.
I am not holding my breath… but in the meantime I will promise you my readers that any product or service that I endorse, I do so freely and am not compensated to do so.