In the last part we looked at the Get-FolderInformation function, which returns an object describing a folder so the user can tell if they want to process it or not. This part is going to focus on the Move-ArchiveObject function which will actually perform the archive (or return from archive) process on a chosen folder. The full script can be found here.
Powershell Archiving Script, Part 5
Powershell Archiving Script, Part 4
Powershell Archiving Script, Part 3
In this part we’ll start writing some Powershell. Initially we’ll write about the function call and function structure (see below). The full script can be found here. Continue reading “Powershell Archiving Script, Part 3”
Birthday Awesomeness
Had a brilliant birthday celebration. As a renaissence man it ticked all the cultural boxes as you’d expect.
Powershell Archiving Script, Part 2
Or, A Cunning Plan for Archiving.
The first thing to do is a quick brain-dump of things I want the script to do. From that I should be able to get a better idea about how I want it to work.
So in no particular order here is a list of all the elements I want in the script;
Powershell Archiving Script, Part 1
A script to archive items between fast storage (SSD) and slow storage (mechanical hard-disk) using symbolic links to make the location of the files transparent to the OS. A solution to Steam games flooding my C:\ drive!
That should be pretty easy, right?
Creating A Powershell Profile Script
Your Powershell profile is a .ps1 (Powershell script) that’s automatically run whenever you start a new Powershell command prompt. You can do all sorts of customisation but possibly the best use for it is to add functions you’ve created yourself so they’re available at the command line. This post shows how to create it.
How to Train Your Dragon 2
The family and I went to go and see this at the weekend and it was brilliant fun. Young sprog and I had re-watched the first one the night before and ratcheted up our excitement to fever-pitch and the sequel didn’t disappoint. Here’s a few (spoiler-free) thoughts;
Monty Python Live
We went to see Monty Python Live at the O2 at the weekend and it was brilliant fun. Two hours of nostalgia!
