RSS

Category Archives: Windows

Microsoft – Windows Server 2012 Hyper-V 3.0 best practices checklist

Roger Osborne has posted a great article with a Windows Server 2012 Hyper-V best practices checklist.

I especially like the fact that it’s not just a checklist, but it also explains what it does and why it is considered a best practice to do it this way (in specific situations).

Additionally you might also want to take a look at “Top 20 Hyper-V Performance Metrics You Should Care About” and System Center Advisor.

 

Tags: , , , , , , , , , , , , , , , ,

PowerShell – Book review of : Learn PowerShell Toolmaking in a month of lunches

At the end of February I published a review of “Learn Windows Powershell 3 in a month of lunches”. Even though it is a well written book from which I learned a couple of things, it did ‘t increase my productiviteit with PowerShell as much as I had wanted. This is probably due to the Windows PowerShell knowledge I already had.

I decided to read “Learn Windows PowerShell Toolmaking in a month of lunches” next and I have to say this was exactly what I needed … and more.

I think it really made my scripts more flexible and easier to maintain and manage. It was also great to see how easy it can be to create a GUI version of your PowerShell script. I will try to post some scripts and GUI examples to my blog soon so you can be the judge :).

There were also some things that weren’t (yet) relevant to me, but it is good to be aware of them and being able to revisit them when necessary.

 
1 Comment

Posted by on March 12, 2013 in Automation, ICT, Microsoft, Powershell, Windows

 

Windows 8 – Use Windows 8 apps when behind a proxy including the Windows 8 Store

In the past I’ve heard numerous people mention they couldn’t get the Windows 8 Store from behind a proxy on the corporate network. Many even thought it was a design flaw by Microsoft and that it wasn’t possible.

A colleague of mine Kuo Wei Lau informed me about this article that specifies how to configure the proxy for metro apps in Windows 8.

So it is possible to use Windows 8 apps from behind a proxy, but I have to admit that in my opinion the configuration is hidden in a not very obvious location. Nevertheless, it is possible 🙂

Apparently there are also other solutions and apparently there are also some issues to take into account. So you might want to take a look at these articles as well:

http://www.thewindowsclub.com/setup-proxy-metro-application-windows-8
http://drdebmath.blogspot.nl/2012/11/use-proxy-windows8-iitg.html
http://support.microsoft.com/kb/2778122

[EDIT 04-07-2014] With Windows 8.1 Preview configuration of the proxy has been improved. For more info take a look at: https://bjornhouben.wordpress.com/2013/07/04/windows-8-1-use-windows-store-apps-when-behind-an-authenticated-proxy/

 
2 Comments

Posted by on March 1, 2013 in ICT, Microsoft, Windows, Windows 8

 

Tags: , , , , , , , ,

PowerShell – Book review of : Learn Windows PowerShell 3 in a month of lunches, second edition

About 6-7 years ago at school we were taught how to script using VBscript. I was really bad at it though and never really made an effort to change that. When PowerShell became more popular however I had gained some working experience and was also pleasantly surprised by the simplicity of it.

I started learning about PowerShell scripting by googling and using script examples. Disadvantages of this approach however is that:

  • You can pick up bad habits from others (without realizing it).
  • You sometimes don’t know exactly why you’re doing things a specific way.
  • You sometimes don’t know why some things are/aren’t working.

PowerShell is getting increasingly important though:

  • Even though more companies are offshoring and employees are relatively, it is still cheaper to automate instead.
  • Cost isn’t the only issue, speed is important as well. Scripting allows you to get things done more quickly.
  • PowerShell is increasingly being adopted by more companies, products and (cloud) services.
  • The number of available built-in cmdlets are increasing, which makes it even easier to automate actions.
  • For many products you have to use PowerShell to make specific settings, because only the more basic settings are available in a Graphical User Interface (GUI).
  • Changes can be applied consistently in a development, test, acceptance, pre-production, production environment.
    • Less chance of human error.
    • If done correctly, you’ll also have included a way to quickly revert the changes by script.

To make sure I didn’t miss out on too many things, I decided to start with a book that teaches the basics. Because of the good reputation of the authors Don Jones and Jefferey D. Hicks in the PowerShell community, I decided to go for their book “Learn Windows PowerShell 3 in a month of lunches, second edition” published by Manning Publications Co.

The book’s purposely didn’t try to stuff all PowerShell related information into the book. Instead it provided the reader/student with the basics needed to be able to find/discover this information themselves if needed. I personally like this approach, because otherwise there would be too much information to take in which might be demotivating and distracting.

I also liked the practical examples of common mistakes made by people who are new to PowerShell. There were a lot of examples I ran into as well when I started using PowerShell and I think this will prevent people from becoming frustrated because they understand why things aren’t working the way they might have expected.

All in all this is a great book to start learning PowerShell. This is however just the start and you should expect to continue using other resources/books to further your knowledge. The book also provides links to useful resources as well. And most importantly … start using PowerShell more so you will learn by experience.

Personally I still have these books lying around, but haven’t decided yet which one to start with next:

I’m also still considering taking a PowerShell course, but I’m a bit hesitant about the added value because it’s hard to determine the quality of a course by the description.

If you have experiences or suggestions, please let me know.

 
2 Comments

Posted by on February 27, 2013 in Automation, ICT, Microsoft, Powershell, Windows

 

Tags: , , , , , , , , ,

Windows 8 – fix for adding to Library error “This network location can’t be included because it is not indexed”

Like many other people nowadays, I have a network share containing my photos, videos and documents. I prefer to access these over the network, which is possible using explorer.

The problem however (especially on my Windows 8 tablet), is that this method in general does not work (properly) for Windows 8 apps. Instead they extensively use the Windows libraries (Documents, Music, Pictures, Videos).

So my first thought was to simply add the content on the network share to the Libraries. Apparently this is not how Microsoft wants it to be used, since I got an error stating: “This network location can’t be included because it is not indexed.”

I don’t need/want it to be indexed though, so I went to look for other solutions and found elaborate step-by-step guides. I also found the Win Library Tool, which simplifies adding an unindexed network location to the Windows libraries.

I still hope Microsoft will make it easier to add unindexed locations to the library though.

 
5 Comments

Posted by on February 23, 2013 in ICT, Microsoft, Tutorials, Windows

 

Tags: , , , , , , , , , , , , , , ,

PowerShell – Get-GroupMemberships

This script determines the group membership of Active Directory users.

In this case, some users are member of multiple functional groups (groupname “*-core”), while the design assumes a user can only be a member a single functional group. This script helps determine the functional groups they are a member of.

Especially with a large number of users, scripting will save you a lot of time.

 

Tags: , , , , , , , , , , , , , ,

PowerShell – Get network adapter information for all clients in the domain

When a customer was replacing its wireless infrastructure it had to perform an inventory of the wireless network adapters in use to determine if replacements were necessary and for which systems.

To perform the inventory, this script queries active directory for clients and then queries every client for its network adapter.

Unfortunately in this case PowerShell remoting wasn’t available, but luckily remote WMI was possible.

 
Leave a comment

Posted by on February 19, 2013 in ICT, Microsoft, Powershell, Windows

 

Tags: , , , , , , , , ,

Powershell – Get WSUS clients Without Sync Or Report In X Days

One of the tasks of a WSUS administrator is to make sure that WSUS clients are up-to-date. This requires the WSUS clients to report to the WSUS server on a regular basis.

So if clients do not report to the WSUS server, you need to investigate and resolve the issue.

This script will show you which WSUS clients haven’t reported in X days:
http://bjornhouben-web.sharepoint.com/Lists/Scripts/DispForm.aspx?ID=21

Another use case would be if you manage a WSUS infrastructure with an upstream server and multiple downstream servers for each customer. If one or more 3rd parties are responsible for managing the WSUS clients, you could use this script to automatically mail them the clients they’re responsible for that haven’t reported for X days.

 
Leave a comment

Posted by on February 17, 2013 in Automation, ICT, Microsoft, Powershell, Windows, WSUS

 

Tags: , , , , , , , ,

Microsoft – Windows Intune for IT Professionals Jump Start videos and Q&A transcript available on MVA

The videos and Q&A transcript of the “Windows Intune for IT Professionals Jump Start” are available on Microsoft Virtual Academt (MVA):
https://www.microsoftvirtualacademy.com/tracks/windows-intune-for-it-professionals-jump-start

Windows Intune is a cloud-based solution to manage desktops and mobile devices (including tablets and phones). It’s not limited to just Windows based products. For more information, take a look at http://www.microsoft.com/en-us/windows/windowsintune/pc-management.aspx

 

Tags: , , , , , , , , , , , , , ,

Microsoft – Virtualization for VMware Professionals Jump Start recordings and Q&A now available on MVA

The videos of the “Virtualization for VMware Professionals Jump Start” have been posted to the Microsoft Virtual Academy (MVA):
https://www.microsoftvirtualacademy.com/tracks/microsoft-virtualization-for-vmware-professionals

Unfortunately I wasn’t able to attend this session live, but thanks to MVA I can still view the recordings when it is convenient for me.

 

Tags: , , , , , , , , , , , , , , , ,