A Website

    • Blackwood Photos
    • Bull Sands Fort
    • CCTV
    • Computer Stuff
      • Exchange online / office365
      • How to Convert PFX Certificate to PEM Format
      • Juniper SRX Notes
      • OpenVPN
      • Outlook duplicating extension when copy / paste attachment in to emails
      • Powershell Stuff
      • SQL
        • See which transaction logs have been created as a backup
        • SQL Copy Backup of all tables script
      • SSL Settings
      • Tealeaf
      • Useful Software downloads
      • Windows 7 / Server 2008 Profiles
      • winmail.dat – mac email
      • Xen server hints – Stuck VM
    • Exchange Online Status
    • Mitel
    • OpenVPN
Illustration of a bird flying.
  • To Zip all files indvidually with in a folder

    Credit to http://greijer.blogspot.co.uk/2013/06/zip-all-files-in-folder-individually.html Create a powershell file (in my case compress1.ps1 containing the following: [CmdletBinding()] Param( [Parameter(Mandatory=$True,Position=1)] [string]$sourceFolderPath, [Parameter(Mandatory=$True,Position=2)] [string]$filePattern, [Parameter(Mandatory=$True,Position=3)] [string]$7zipExe ) $sourceFilePattern= $sourceFolderPath +”\” + $filepattern $files=get-childItem $sourceFilePattern $ErrorActionPreference = “Stop” if ($files) { foreach ($file in $files) { $zipFileName=$file.fullname+”.zip” $programArgs = “a”, “-tzip”, $zipFileName , $file.fullname write-host $programArgs Invoke-Command -ScriptBlock { &…

    March 27, 2014
  • Hello world!

    Welcome to my website,   This is my 1st update…. please look forwards to lots more coming shortly.

    July 20, 2012

A Website

Proudly powered by WordPress