pwps_dab.ps1

$Host.Runspace.ThreadOptions = "ReuseThread"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 
Write-Host -ForegroundColor DarkYellow "Security Protocol now set to TLS 1.2"
$myPath = $MyInvocation.MyCommand.Path
$myDir = Split-Path $mypath -Parent
$versionInfo = Get-ChildItem -File "$myDir\PWPS_DAB.dll" | Select-Object -ExpandProperty VersionInfo
Write-Host -ForegroundColor DarkYellow "PWPS_DAB Version is $($versionInfo.ProductVersion)"
$processType = "This is a 32-bit process."
if ([Environment]::Is64BitProcess -eq $true) { $processType = "This is a 64-bit process." }
Write-Host -ForegroundColor DarkYellow $processType


# SIG # Begin signature block
# MIIa2gYJKoZIhvcNAQcCoIIayzCCGscCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAQU8vb9dnIcK6d
# 7h4nIpgEnpFYwsJH/DHWU1/gvQITYqCCCn8wggUwMIIEGKADAgECAhAECRgbX9W7
# ZnVTQ7VvlVAIMA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xJDAiBgNV
# BAMTG0RpZ2lDZXJ0IEFzc3VyZWQgSUQgUm9vdCBDQTAeFw0xMzEwMjIxMjAwMDBa
# Fw0yODEwMjIxMjAwMDBaMHIxCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2Vy
# dCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xMTAvBgNVBAMTKERpZ2lD
# ZXJ0IFNIQTIgQXNzdXJlZCBJRCBDb2RlIFNpZ25pbmcgQ0EwggEiMA0GCSqGSIb3
# DQEBAQUAA4IBDwAwggEKAo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