Monthly Archives: September 2016

Set proxy for machine account

netsh winhttp set proxy proxy.domain.com:8080 “*.domain.com;*.domain2.com”

Posted in Windows | Comments Off on Set proxy for machine account

Test network ports with Powershell

[codesyntax lang=”powershell”] #Create socket object $Socket = New-Object Net.Sockets.TcpClient #Connect $Socket.Connect(“172.22.2.10”, “8888”) #Check if connected $Socket.Connected #Close connection $Socket.Dispose() [/codesyntax]

Posted in Network | Comments Off on Test network ports with Powershell

Base64 encoding with certutil

Encode certutil -encode inputFileName encodedOutputFileName Decode certutil -decode encodedInputFileName OutputFileName

Posted in PKI | Comments Off on Base64 encoding with certutil