GenXdev.Data.SqlServer.psm1
if (-not $IsWindows) { throw "This module only supports Windows 10+ x64 with PowerShell 7.5+ x64" } $osVersion = [System.Environment]::OSVersion.Version $major = $osVersion.Major $build = $osVersion.Build if ($major -ne 10) { throw "This module only supports Windows 10+ x64 with PowerShell 7.5+ x64" } . "$PSScriptRoot\Functions\GenXdev.Data.SqlServer\Invoke-SqlServerQuery.ps1" |