This file contains hidden or 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
| ################################################################################# | |
| # | |
| # @file : mem-resource-groups.sh | |
| # @author : [email protected] | |
| # | |
| # This script is used to validate and get the memory related issues from the | |
| # all resource groups | |
| # | |
| ################################################################################# |
This file contains hidden or 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
| # NOTE: registry keys for IE 8, may vary for other versions | |
| $regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' | |
| function Clear-Proxy | |
| { | |
| Set-ItemProperty -Path $regPath -Name ProxyEnable -Value 0 | |
| Set-ItemProperty -Path $regPath -Name ProxyServer -Value '' | |
| Set-ItemProperty -Path $regPath -Name ProxyOverride -Value '' | |
| [Environment]::SetEnvironmentVariable('http_proxy', $null, 'User') |