Kansa icon indicating copy to clipboard operation
Kansa copied to clipboard

Deserialize-KansaField.ps1 needs OSVersion Check and Bail

Open athegist opened this issue 7 years ago • 0 comments

I was foolishly testing this out on Windows XP, I know, I know, and it failed in the decompression step. It should fail gracefully and return a message about why it failed. I think it may be a .net version issue. I don't think it's a PSVersion issue, but that's possible.

Given the error message, I suspect it's a .Net version issue. The error was [System.IO.Compression.GZipStream] doesn't contain a method named 'CopyTo'.

Looks like I have .Net version 3.5 installed.

athegist avatar Oct 27 '17 02:10 athegist