New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Server ' -name 'DisabledByDefault ' -value 1 -PropertyType 'DWord ' -Force | Out-Null New-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Server ' -name Enabled -value 0 -PropertyType 'DWord ' -Force | Out-Null New-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Server ' -Force | Out-Null Write-Host 'Configuring IIS with SSL/TLS Deployment Best Practices. # Version 3.0.2, see CHANGELOG.txt for changes. # After running this script the computer only supports: $obj | Add-Member -MemberType NoteProperty -Name "Publisher " -Value $( $thisSubKey. $obj | Add-Member -MemberType NoteProperty -Name "InstallLocation " -Value $( $thisSubKey. $obj | Add-Member -MemberType NoteProperty -Name "DisplayVersion " -Value $( $thisSubKey. $obj | Add-Member -MemberType NoteProperty -Name "DisplayName " -Value $( $thisSubKey. $obj | Add-Member -MemberType NoteProperty -Name "ComputerName " -Value $ env:COMPUTERNAME #Open each Subkey and use GetValue Method to return the required values for each #Retrieve an array of string that contain all the subkey names #Drill down into the Uninstall key using the OpenSubKey Method $reg =::OpenRemoteBaseKey( 'LocalMachine ', $ env:COMPUTERNAME) #Create an instance of the Registry Object and open the HKLM base key $UninstallKey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall " $array = the variable to hold the location of Currently Installed Programs DisplayVersion " supports TLS 1.2 " -ForegroundColor Green DisplayVersion " needs to be updated to use TLS 1.2 " -ForegroundColor Red # Check and report if an update is required for each entry found $sqlncli = Get-InstalledPrograms | Where-Object | Select DisplayName ,DisplayVersion # Fetch the different Native Client installations found on the machine # This script is restricted to work on 圆4 and x86 platforms Check if Microsoft ODBC Driver for SQL Server can support TLS 1.2 Check if SQL Server Native Client can support TLS 1.2 # Script currently supports checking for the following: # Helper functions to check if TLS 1.2 updates are required
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |