Modules/Zip/0.3.2/Zip.psm1
# PowerShell 5.1 doesn't have these variables so create them if they don't exist. if( -not (Get-Variable -Name 'IsLinux' -ErrorAction Ignore) ) { $IsLinux = $false $IsMacOS = $false $IsWindows = $true } Add-Type -AssemblyName 'System.IO.Compression' Add-Type -AssemblyName 'System.IO.Compression.FileSystem' Get-ChildItem -Path (Join-Path -Path $PSScriptRoot -ChildPath 'Functions') -Filter '*.ps1' | ForEach-Object { . $_.FullName } |