diff --git "a/\"demo.thinkorswim.com:7002\": userPrincipalsResponse.streamerInfo.userGroupAZURE" "b/\"demo.thinkorswim.com:7002\": userPrincipalsResponse.streamerInfo.userGroupAZURE" new file mode 100644 index 00000000000..30e78d4be0d --- /dev/null +++ "b/\"demo.thinkorswim.com:7002\": userPrincipalsResponse.streamerInfo.userGroupAZURE" @@ -0,0 +1,52 @@ + +Function Get-ADSyncToolsTls12RegValue +{ + [CmdletBinding()] + Param + ( + # Registry Path + [Parameter(Mandatory=$true, + Position=0)] + [string] + $RegPath, + + # Registry Name + [Parameter(Mandatory=$true, + Position=1)] + [string] + $RegName + ) + $regItem = Get-ItemProperty -Path $RegPath -Name $RegName -ErrorAction Ignore + $output = "" | select Path,Name,Value + $output.Path = $RegPath + $output.Name = $RegName + + If ($regItem -eq $null) + { + $output.Value = "Not Found" + } + Else + { + $output.Value = $regItem.$RegName + } + $output +} + +$regSettings = @() +$regKey = 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319' +$regSettings += Get-ADSyncToolsTls12RegValue $regKey 'SystemDefaultTlsVersions' +$regSettings += Get-ADSyncToolsTls12RegValue $regKey 'SchUseStrongCrypto' + +$regKey = 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' +$regSettings += Get-ADSyncToolsTls12RegValue $regKey 'SystemDefaultTlsVersions' +$regSettings += Get-ADSyncToolsTls12RegValue $regKey 'SchUseStrongCrypto' + +$regKey = 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server' +$regSettings += Get-ADSyncToolsTls12RegValue $regKey 'Enabled' +$regSettings += Get-ADSyncToolsTls12RegValue $regKey 'DisabledByDefault' + +$regKey = 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client' +$regSettings += Get-ADSyncToolsTls12RegValue $regKey 'Enabled' +$regSettings += Get-ADSyncToolsTls12RegValue $regKey 'DisabledByDefault' + +$regSettings