This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$geExternalRootCAExportPath = $proxyPath + "\certificate.cer" | |
Write-Host "Exporting GE External Root CA" | |
$certificate = Get-Item (Get-ChildItem -Path Cert:\CurrentUser\Root\ | Where-Object {$_.Subject -eq "CN=GE External Root CA 2.1, O=General Electric Company, C=US"}).PSPath | |
Export-Certificate -FilePath $geExternalRootCAExportPath -Cert $certificate[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Script to setup gpu support for tensorflow on Windows 10 | |
Author: Yehang Han | |
#> | |
Clear-Host | |
# 1. Install Microsoft Visual C++ Compiler | |
Write-Host "Installing Microsoft Visual C++ Compiler" -ForegroundColor Green | |
if (Get-Module -ListAvailable -Name VSSetup) { | |
#Write-Host "Module VSSetup exists" |