Windows

CSV Volume Free Space

»Posted on Oct 11, 2012 in Opinions, Scripting, Windows | 0 comments

Working with Mounted file systems is cool; but there is one real pain, how do you quickly find out your remaining capacity? WMI of course, but gosh do I really want to, or need to do that… Yes and its really simple with PowerShell, Just look Get-WmiObject Win32_Volume | Select Name, Capacity, FreeSpace, FileSystem | FT This one command will tell us all we need to know, but it’s reporting in Bytes, and not very easy read, so with a little formatting on the data we get back, this can look a lot better, and much easier read Get-WmiObject Win32_Volume | Select Name, @{Name=“Size(GB)”; Expression={“{0:N2}” -f ($_.Capacity/1GB)}},@{Name=“Freespace(GB)”; Expression={“{0:N2}” -f ($_.Freespace/1GB)}},@{Name=“%...

read more

FIM – Sync Server 2010R2 Cluster Build

»Posted on Oct 11, 2012 in Active Directory, Opinions, Scripting, Windows | 0 comments

Out of the box, the FIM Sync server is not delivered as a cluster aware application, but with a little research, tweaking, and patients we can address this shortfall, and implement this technology in a High Availability solution. In this guide, I will step though the process of first installing the FIM Sync Service on a single host; then proceed to configure this host as a single node cluster, prior to adding the FIM Sync engine as a resource of the cluster. Once this is completed, we can then easily repeat the exercise and add additional nodes to the cluster creating a highly available FIM Sync solution. Install the FIM Sync 2010 R2 Service Prerequisites for the installation .NET Framework 3.5 SQL 2008 Native Client Forgetting this will not present an error,...

read more

Upgrade to WSUS 2012

»Posted on Aug 22, 2012 in Opinions, Windows | 0 comments

If you are reading this then you are interested in getting you WSUS server updated from its 2008 based host to the new Windows 2012. If you attempt to do an in place upgrade you will be in for a disappointment, as this upgrade scenario will not work which is the start of the nightmare, as you are quickly realising that all those fine updates you have downloaded will need to be re-cached again, and worse you start to realise that all the computer groups will need to be recreated; and god no, but we also need to go back and approve or reject all those updates…. Yes, Microsoft was really having a kind steak when they snuck this one out on you. As an early adopter however my colleague today walked directly into this horrid experience, and started to face up to the...

read more

NPS Audit Logs–Was it successful?

»Posted on Aug 1, 2012 in Opinions, Windows | 0 comments

While working on some WiFi access issues today, I was trying to determine which systems were authenticated along with the systems which were being declined; however all I was able to locate was failure after failure. Then, in a light bulb moment, I recalled from the early days of working with Windows 2008 server that the auditing policy for NPS requests defaults to failures only. A quick trip to the command prompt confirmed my theory C:Windowssystem32>auditpol /get /subcategory:"Network Policy Server" System audit policy Category/Subcategory                      Setting Logon/Logoff   Network Policy...

read more

How does DA map IPv4 to IPv6 addresses?

»Posted on May 29, 2012 in Opinions, Windows | 0 comments

Good question; if you ever ping a DNS name for a node in your corporate environment which is running IPv4, then the Windows 2012 NAT64 and DNS64 kick into action. So what happens – well simply really First, the DNS64 server checks if there is an IPv6 address registered in the corporate DNS servers for the requested machine Assuming no IPv6 address is located within a few milliseconds, a second request is sent to the corporate DNS servers, this time requesting the IPv4 address of the requested machine This address let’s assume is returned as 10.5.1.191 The NAT64 service is asked to create an IPv6 mapping for this to offer back to the requester. First the IPv4 address is converted to Hex as follows 10.5.1.191 becomes 0a.05.01.bf This is then reduced to 2...

read more