From 1d0aa296f57c480737caa4935aa0ca426e7d7f8b Mon Sep 17 00:00:00 2001 From: Derek Graham Date: Thu, 15 Sep 2016 14:06:09 +0100 Subject: [PATCH] Updated minimum required PS version Changed metadata minimum version requirement in psd to v4 and removed the coded check in psm --- Skytap.psm1 | 5 ----- skytap.psd1 | Bin 5328 -> 5328 bytes 2 files changed, 5 deletions(-) diff --git a/Skytap.psm1 b/Skytap.psm1 index 9facb2c..8464616 100644 --- a/Skytap.psm1 +++ b/Skytap.psm1 @@ -17,11 +17,6 @@ if ($PSBoundParameters['Debug']) { $DebugPreference = 'Continue' } -if ($PSVersionTable.PSVersion.major -lt 4) { - write-host "This module requires Powershell Version 4" -foregroundcolor "magenta" - return -} - function LogWrite ([string]$logthis) { # logwrite INFO This is Info -- logwrite DEBUG this is debuggin $d = get-date -f o #$loglevel = $logString.split(" ")[0] diff --git a/skytap.psd1 b/skytap.psd1 index ebfb2c03b7ab024f8ee3964cd6f32e16a8a5a882..3680eff81bdb4090f611111b349aa4c9d73256b2 100644 GIT binary patch delta 14 Vcmcbhc|mhS1RJBt=18`3J^(6S1kC^d delta 14 Vcmcbhc|mhS1RJCA=18`3J^(6M1k3;c