Category Archives: Windows Server 2008

Windows Server 2008 EoL

Windows Server 2008 EoL on 14 January 2020 Windows Server 2008 and 2008 R2 will be end of life and no longer supported from 14 January 2020 – https://cloudblogs.microsoft.com/windowsserver/2018/07/10/its-sunset-time-for-windows-server-2008-and-2008-r2/ There’s plenty of time to think about migrating off of the … Continue reading

Posted in Windows Server 2008, Windows Server 2008 R2 | Leave a comment

Don’t reinvent the wheel

Way back when I used to take Microsoft certification exams there were often questions of the form “Perform task X with the minimum of administrative effort” Most, if nor all, of the possible answers would be correct but the correct … Continue reading

Posted in Powershell, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016 | 1 Comment

Using AccountManagement classes to set local accounts expiry

This is a little more verbose than the WinNT example function set-expirydate { [CmdletBinding(SupportsShouldProcess=$true)] param ( [parameter(ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true)] [string]$computer, [parameter(ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true)] [string]$id ) BEGIN {Add-Type -AssemblyName System.DirectoryServices.AccountManagement} PROCESS { switch ($computer){ “.” {$computer = $env:computername} “localhost” {$computer = $env:computername} } … Continue reading

Posted in IT Security, PowerShell and Active Directory, Windows 7, Windows Server 2008, Windows Server 2008 R2 | Leave a comment

Setting local account expiry dates

Setting expiry dates on AD accounts is a common occurrence and is well documented. Setting expiry dates on local accounts is also possible $user = [adsi]”WinNT://./Test1, user” $expirydate = (Get-Date).AddDays(2) $user.Put(“AccountExpirationDate”, $expirydate) $user.SetInfo() $user.RefreshCache() $user | Format-List * This uses … Continue reading

Posted in IT Security, PowerShell and Active Directory, Windows 7, Windows Server 2008, Windows Server 2008 R2 | Leave a comment

Windows SysInternals Administrators Reference

Windows SysInternals Administrators Reference Title: Windows SysInternals Administrators Reference Publisher: Microsoft Press ISBN: 978-0-7356-5672-7 The SysInternals tool set – http://technet.microsoft.com/en-us/sysinternals/default.aspx  – should be one of a Windows administrator’s best friends. You may not need them every day but when you do … Continue reading

Posted in Books, Technology, Windows 7, Windows Server 2008, Windows Server 2008 R2 | Leave a comment

Surprise

Life is full of surprises and one that has happened to me revolves around the post that seems to get the most attention.  Since moving to one of my mirrors from Microsoft Live to WordPress one of the extra features … Continue reading

Posted in Windows Server 2008 | Leave a comment

Book Review: Windows Server 2008 Administrator’s Pocket Consultant

Author: William R. Stanek Publisher: Microsoft Press ISBN: 978-0-7356-2711-6 This is the second edition that has been updated for Windows Server 2008 R2. As usual I am applying my three main criteria for judging a book: · Is it technically … Continue reading

Posted in Windows Server 2008 | Leave a comment

Hyper-V and Virtual PC

Just a quick warning – be careful if you have virtual machines in virtual PC and switch to using Hyper-V.  Not sure what I did wrong (it was late last night) but managed to trash my virtual SQL Server There … Continue reading

Posted in Windows Server 2008 | Leave a comment

HP G60

I am currently using a HP G60 laptop.  Runs Windows 7 very well. I created a dual boot environment so I could install Windows 2008 R2 and to my pleasant surprise found Hyper-V runs on it.  Need to enable virtualisation … Continue reading

Posted in Windows Server 2008 | Leave a comment

Password Policy

As I mentioned in an earlier post I am reading the Study Guide for the Exchange 2007 Design Exam (70-237).  There is quite a good section on security that goes beyond the normal Exchange stuff. In fact the book overall … Continue reading

Posted in Windows Server 2008 | Leave a comment