Skip to content

Instantly share code, notes, and snippets.


Oliver Rahner oliverrahner

View GitHub Profile
oliverrahner / homekit.json
Created May 12, 2018
node-red flow for homekit with lights and window coverings
View homekit.json
"label":"Flow 1",
oliverrahner / Convert-SPExport2010to2013.ps1
Last active Oct 20, 2015
Powershell function to convert Sharepoint 2010 exports to Sharepoint 2013
View Convert-SPExport2010to2013.ps1
# --- ConvertFrom-Cab courtesy of
Function ConvertFrom-Cab($cab,$destination)
$comObject = "Shell.Application"
Write-Debug "Creating $comObject"
$shell = New-Object -Comobject $comObject
if(!$?) { $(Throw "unable to create $comObject object")}
Write-Debug "Creating source cab object for $cab"
$sourceCab = $shell.Namespace($cab).items()
Write-Debug "Creating destination folder object for $destination"