Skip to main content

Posts

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

How To Delete Skype Conversation For A Single Contact In Windows

There’s no doubting the fact that Skype is the most amazing VoIP services around. Hundreds of millions of people use it everyday, and it’s supported by almost all mobile and desktop platforms. But just like many top notch tech solutions, Skype isn’t without its shortcomings. If you use Skype on Windows, you’d probably be aware that it doesn’t let you remove the chat history of a single contact only and the only (official) way is to delete it is by clearing the entire chat history from Preferences. You’re not completely out of luck though, as there is a way to delete Skype conversation of one user if you want. And in this guide we will show you how. So without any further ado, let’s get straight to it. Skype basically stores all the text chats with contacts in the SQL database file called “main.db” which is stored inside the Roaming folder of Windows. This database file in fact also carries other information related to settings and options stored by the user. Fortunate...