Skip to main content

Posts

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...

How to Connect on a Check Point SPLAT or Gaia Gateway with a SFTP/SCP Client

This tutorial describes the procedure that a Check Point administrator should follow in order to become able to use SFTP (Secure File Transfer Protocol) or SCP (Secure Copy Protocol) for transferring files to/from a Check Point (CP) SecurePlatform (SPLAT) or Gaia gateway. The major question is why a CP SPLAT or Gaia gateway cannot be accessed with an SFTP/SCP client (e.g. WinSCP), even though the gateway is accessible via SSH (SecureShell, tcp port 22)? Before proceeding and answering the above question, it is important to mention that an authorized user (for example the network security administrator) can use SSH to access a CP SPLAT/Gaia gateway in two modes: The Standard Mode which is the default mode that an administrator first accesses (via SSH) the CP SPLAT gateway by providing the “admin” user credentials. In this mode, the user is logged in with administrator permissions and can perform only a limited number of operations on the CP SPLAT gateway. The shell...

VMware CPU and Memory Reservations: Fixing Insufficient resources to satisfy configured failover level for HA

Source Knowledge From :-  http://geekswing.com/geek/vmware-cpu-and-ram-reservations-fixing-insufficient-resources-to-satisfy-configured-failover-level-for-ha/ VMware CPU and Memory Reservations: Fixing Insufficient resources to satisfy configured failover level for HA This post comes from a few days of poring over manuals as well as some technical support. This is a good one. The error came from trying to power on a VM in our VMware cluster and we would get these errors: “Insufficient resources to satisfy configured failover level for HA” And this alert on our cluster “Insufficient resources to satisfy HA failover level on cluster vmCluster in vmTST” Our way of thinking was we had to power one off to power another one on. But that didn’t work. Here we is the actual solution. (p.s. Great VMware HA education for me on this one!) PROBLEM SOURCE: VMware HA is turned on and you are violating constraints VMware HA is turned on, and you have i...