Downloading object from Amazon S3 by using PowerShell
AWS Tools for Windows PowerShell start PowerShell Import-Module ‘C:\Program Files\AWS Tools\PowerShell\AWSPowerShell.psd1′ Read-S3Object -BucketName YOURBUCKETNAME -Key FILENAME -File c:\FILENAME
View ArticleAWS PowerShell store credentials
The AWS Tools for Windows PowerShell enable you to set up default credentials and a default region which can be used in every PowerShell session you run. This approach avoids having to specify these...
View ArticleInstalling AWS CloudFormation Command Line Tools on Windows Core
AWS CloudFormation Command Line Tools (new-object System.Net.WebClient).DownloadFile('https://s3.amazonaws.com/cloudformation-cli/AWSCloudFormation-cli.zip', 'c:\AWSCloudFormation-cli.zip') (new-object...
View ArticleWindows Core: Install PowerShell 3.0 by using PowerShell 2.0
Run the script below in the PowerShell 2.0 on your Windows Core (new-object...
View ArticlePowerShell: Wait till time service initiated synchronization with the time...
$ew = new-object system.management.ManagementEventWatcher $ew.query = "Select * From __InstanceCreationEvent Where TargetInstance ISA 'Win32_NTLogEvent'" while(!(get-eventlog -logname 'System' -Source...
View ArticlePowerShell: Wait till time service initiated synchronization with the time...
$ew = new-object system.management.ManagementEventWatcher $ew.query = "Select * From __InstanceCreationEvent Where TargetInstance ISA 'Win32_NTLogEvent'" while(!(get-eventlog -logname 'System' -Source...
View ArticleHOWTO: Create AWS EC2 spot instance with the specific IAM Role
Get IAMInstanceProfile $iam=[Amazon.AWSClientFactory]::CreateAmazonIdentityManagementClient($awsKeyId, $awsKey) $req = (new-object...
View ArticleInstalling AWS Tools for Windows PowerShell through PowerShell
AWS Tools for Windows PowerShell (new-object System.Net.WebClient).DownloadFile('http://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi', ‘c:\downloads\AWSToolsAndSDKForNet.msi’)...
View Article[SLIM] |Order Query| missing records are ignored by a test result
ISSUE The tests are still green if there are Ordered Query tables with the missing records. Applied to the official release 20130530 http://fitnesse.org/FitNesseDownload
View ArticleSilent IIS UrlRewrite, ARR and FARM provisioning by #PowerShell
Recently, I had the task to run several fitnesse instances in on the single AWS EC2 instance. The requirement was what each fitnesse instance should be accessible trough port 80 (HTTP). IIS as reverse...
View Article