PowerShell: Finding Stale User and Computer Accounts
May15

PowerShell: Finding Stale User and Computer Accounts

KB ID 0001438 Problem I do this a lot, (usually prior to big migrations), most organisations have no mechanism for removing old users and computers from Active Directory, some don’t even disable the accounts. Find Users Who Have Never Logged On Use the following PowerShell Command; Get-ADUser -Filter { LastLogonDate -notlike “*” -and Enabled -eq $true } -Properties LastLogonDate | Select-Object @{...

Read More
Exchange Bulk Export / Import Mail Contacts
Sep22

Exchange Bulk Export / Import Mail Contacts

KB ID 0001349  Problem I had to do this today and realised, it’s been so long since I did it last, I’d forgotten how to do it. Before we go forward, please be clear, I’m talking about MAIL CONTACTS, these are Active Directory Objects that have an Email address, but DO NOT have a mailbox in your Exchange Organisation, and DO NOT have an Active Directory User. I point this out because you can have MAIL USERS that have...

Read More
Windows Server – Change a DHCP Scopes Subnet Mask
Apr17

Windows Server – Change a DHCP Scopes Subnet Mask

KB ID 0001177  Problem You have probably tried to do this and found he option ‘greyed out’ because in the DHCP management console you can’t change the subnet mask of a scope.  I needed to change a clients DHCP scope because I was changing their subnet from /24 to /16. I could have simply deleted and recreated the scope, but they has a lot of custom settings for their phone system, and hundreds of reservations (which...

Read More
Convert  a Virtualbox VM to a VMware Fusion VM
Mar24

Convert a Virtualbox VM to a VMware Fusion VM

KB ID 0001169  Problem I have a bunch of VM’s that I use with GNS3 that are in Virtualbox. I also run VMware Fusion, and since my upgrade to version 1.4.4 I need to run the GNS3 VM in VMware, (I could not get the Virtualbox version to work). So I decided to copy over the remainder of my VMs as well. Solution Within Virtualbox > File > Export Appliance. Select the VM in question > Continue. Important: Ensure you have...

Read More
Certificate Services – Create a ‘Wildcard Certificate’
Jan11

Certificate Services – Create a ‘Wildcard Certificate’

KB ID 0001128 Problem Now you may be thinking, “If you have your own CA/PKI solution why would you need to create a Wildcard Certificate”? If you can generate as many certificates as you want whats the point? Well today I need to setup ADFS, WAG (Web Application Gateway), and Remote Desktop Services Gateway Server. To make the whole thing wok on my test bench would be a lot less hassle if I could just use one certificate...

Read More