Search
What's Hot
Pages
Affiliate Offers
Blogs worth reading
Me in the Real World
More of my stuff
Music
Feeds
Tag Archives: convert
Use VLC to convert M4A to MP3 one-liner
I recently needed to convert a load of M4A audio files to the more widespread MP3 format. It turns out you can do this with VLC media player. So then it was just a matter of getting the right command … Continue reading
Create a PFX file from separate private and public key certificate files
Whilst installing ADFS I needed to import my wildcard certificate. This proved fiddly as Microsoft need it to be in pfx format, and I only had separate private .key and public .crt files. PFX is a Microsoft certificate format that combines the … Continue reading
Convert Hyper-V VM vhdx to VMware vSphere vmdk
This turned out to be pretty simple, if pretty slow. I was converting from a Hyper-V 2012 R2 VM into vSphere 5.0. The VM itself was also running Windows Server 2012 R2. There are a few steps and points to … Continue reading
PowerShell: Working with XML
PowerShell seems to have two built-in ways of dealing with XML: Clixml The first is to use the Export-Clixml and Import-Clixml cmdlets. These are an easy way to save and load PowerShell objects for later use. For example, if you have … Continue reading
Posted in PowerShell, Windows
Tagged add, append, AppendChild, clixml, convert, convertto-xml, createelement, edit, export, export-clixml, import, import-clixml, load, nmap, powershell, save, SetAttribute, xml, xmlns
2 Comments
PowerShell function to convert WMI Event Log date and time to datetime data type
PowerShell likes to hold dates and times as the DateTime data type. This enables you to do useful things with it such as maths, easily pick out bits of it (e.g. just the date ignoring the time, just the hour, … Continue reading
Posted in PowerShell
Tagged convert, date, datetime, daylight saving, get-wmiobject, parseexact, powershell, time, time zone, wmi
Leave a comment
vSphere: Convert RDM to VMDK and vice-versa on Windows VM with no downtime
This method will work for non-OS disks (so not your C drive), and will not require the server or application to go down during the process. You need a version of Windows that supports software RAID, which includes all versions … Continue reading
PowerShell: Scan subnet for dead addresses
Quick script to scan a range of addresses on an IPv4 subnet and report ones that don’t ping, additionally doing a reverse DNS query on those IP addresses to try and get their names. I’m doing two pings, as I … Continue reading
Posted in PowerShell
Tagged catch, convert, dns, gethostbyaddress, no reply, ping, powershell, reverse, subnet, tostring, try, windows
Leave a comment
Upgrade PST files to Unicode and run ScanPST from the command line
Identified an issue with old PST files that started to misbehave when Microsoft Office was upgraded to 2010. PST files created by Outlook 97, 2000 or XP are stored using ANSI, whereas the ones created by Outlook 2003, 2007, and … Continue reading