Skip to main content

Posts

Showing posts from September, 2014

Autoscalling Windows servers in AWS

Steps for using the Amazon Command Line Tools: Pre-requisites All of the steps below can be skipped if you use EZAutoScaling. Download the command line tools for Auto Scaling Download the command line tools for CloudWatch Set up Auto Scaling command line Set up CloudWatch command line Create new Launch Configuration Create new Auto Scaling Group Create per region Create CloudWatch monitor to increase servers Create CloudWatch monitor to decrease servers Set Desired Capacity after creation Monitoring your Auto Scaling Froups Monitoring your Instances' health Delete Auto Scaling Groups and Launch Configurations Pre-requisites You need to know which Amazon region (e.g. 'US East (N. Virginia)' or 'us-east-1') you want to set up your Auto Scaling in. You need to have an AMI set up in that region. The AMI will be the image that will be used for each new instance in your Auto Scaling group. You need to have a load balancer created in that region....

Unable to find a default server with Active Directory Web Services running

Install  .Net Framework 3.5 Sp1 Need to install hotfix:   http://support.microsoft.com/kb/969429 http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=20556 Install Active directory management gateway service (Windows6.0-KB968934) from  http://www.microsoft.com/en-us/download/details.aspx?id=2852  

Create a list of local administrators with PowerShell

1.        Create folder :    C:\Temp 2.        Save a text file with the name servers.txt and add server names 3.        Create a .PS1 file with the name “ Get-LocalGroupMembers . ps1 ”with below PowerShell code: **********************************************************     [ CmdletBinding () ] Param (     [ Parameter (    ValueFromPipeline = $true ,                 ValueFromPipelineByPropertyName = $true                 ) ]     [ string []]     $ComputerName = $env:ComputerName ,     [ Parameter () ]     [ string ]     $LocalGroupName = "Administrators" ,   ...