Skip to main content

Posts

How to use Time-Domain Reflectometer (TDR)

I’m no electrical engineer, (the closest experience I have with electricity is the amount of electrocution I received when I was a child [due to faulty cabling of electrical appliances]) so I will spare readers technical jargons and boring formulas because this guide is not aimed to be published in the International Journal of Mumbo-Jumbo. This guide is to help anyone how to confidently use the TDR feature when troubleshooting basic Layer 1 Ethernet issue. My knowledge with this feature is based entirely on experience and a lot of trial-and-error. What is Time-Domain Reflectometer (TDR)? “A time-domain reflectometer (TDR) is an electronic instrument used to characterize and locate faults in metallic cables (for example, twisted wire pairs, coaxial cables) 1 .” For the sake of this document, “TDR testing” and “TDR” are used interchangeably to sow confusion to the un-initiated. They both mean the same. How can TDR help me? TDR, in its simplest form,...

Using .vbs File Will Let Us Login Into Any Websites Without Typing on the Keyboard

Using .vbs File Will Let Us Login Into Any Websites Without Typing on the Keyboard    Auto Login to Any Websites and Browsers This auto login is to make us easier to login to any websites without typing the username and the password. This tip will work if the browser is already running on the desktop and the desired website is already opened, for example Facebook, Gmail, Yahoo, etc. How to do that? We are going to use the Notepad and save it into .vbs and .bat file format. The First Step (Creating .vbs file format using Notepad) Copy the following codes into the Notepad then save it into .vbs file format (Yahoo.vbs): set WshShell = WScript.CreateObject("WScript.Shell") WScript.Sleep 4000 WshShell.SendKeys "username" WScript.Sleep 2000 WshShell.SendKeys "{TAB}" WScript.Sleep 2000 WshShell.SendKeys "password" WshShell.SendKeys "{TAB}" WshShell.SendKeys "{ENTER}" WScript.Quit()  Copied ...

INSTALL IIS USING POWERSHELL SCRIPT

# -------------------------------------------------------------------- # Checking Execution Policy # -------------------------------------------------------------------- #$Policy = "Unrestricted" $Policy = "RemoteSigned" If ((get-ExecutionPolicy) -ne $Policy) {   Write-Host "Script Execution is disabled. Enabling it now"   Set-ExecutionPolicy $Policy -Force   Write-Host "Please Re-Run this script in a new powershell enviroment"   Exit } # -------------------------------------------------------------------- # Loading Feature Installation Modules # -------------------------------------------------------------------- Import-Module ServerManager # -------------------------------------------------------------------- # Installing IIS # -------------------------------------------------------------------- Add-WindowsFeature -Name web-server,Web-Common-Http,Web-Asp-Net,Web-Net-Ext,Web-Net-Ext45,Web-ASP,Web-Asp-Net,Web-Asp-Net45,Web-IS...

INSTALL DOT NET FRAMEWORK ON MULTIPLE SERVERS USING POWERSHELL SCRIPT

Installing .Net 4.5.2 $servers = Array of Servers foreach($server in $servers) { Write-Host “Copying the installation file” copy-item  –path “-SOURCE” –destination “ destination ” Write-Host “Installing .NET 4.5.2” Invoke-Command –Computername $server –Credentials xxxx { C:\Temp\ NET 4.5.2  /passive /norestart }

Allowed Specific IP to talk to one host on Router

We have to Block Production server access from below three network on cisco router and only allowed access from specific IPs Three internal network In Office 1)       10.10.32.0/24 2)       10.10.128.0/24 3)       10.10.62.0/24 Specific IP Address:- 1)       10.10.128.70 Production Network 1)       10.13.40.139 2)       10.13.40.142 Script:- Creating Object group to added internal Network Pool WAN-R1#sh object-group Network object group Internal   10.10.32.0 255.255.255.0   10.10.128.0 255.255.255.0   10.10.62.0 255.255.255.0 Added access-list:- WAN-R1#sh access-lists 123 Extended IP access list 123     10 permit ip host 10.10.128.70 host 10.13.40.139     20 permit ip host 10.10.128.70 host 10.13.40.142     30 deny ip o...