With the outcry caused by the BBC removing the BBC food section from their website and the rush of people trying to mirror it or download the data I thought; just how would you do that with PowerShell? (Of course,… Read More ›
Archive
Powershell Archiving Script, Part 8 (Final Part)
The final functions are done (in the last part) now it’s just the main body of the script. This will bring all the code together and produce the output we want. The full script can be found here.
Powershell Archiving Script, Part 7
We’re on the home straight now. In the last part we dealt with the last major workhorse of the script (actually moving objects to and from the archive with Move-ArchiveObject) and in this part we deal with some of the formatting… Read More ›
Powershell Archiving Script, Part 6
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… Read More ›
Powershell Archiving Script, Part 5
Continuing on from the last part where I defined the Get-FolderSize function the next function to be defined is Get-FolderInformation. This gets the relevant information about all the folders that could be processed and outputs that information as objects. The… Read More ›
Powershell Archiving Script, Part 4
In the last part we wrote out the Powershell to handle the parameters (including some crude validation) and for the skeleton of the rest of the script. In the next few parts we’ll define the functions the script will use. The full… Read More ›
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.
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… Read More ›
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,… Read More ›