Skip to content

Instantly share code, notes, and snippets.

View nironkoren's full-sized avatar

Niron Koren nironkoren

View GitHub Profile
@nironkoren
nironkoren / LambdaPolicyDefinition.json
Created May 11, 2020 09:04
Use this Policy Definition in IAM to create a Policy and attach to a role, to grant the relevant permissions to the AWS Lambda function
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"cloudwatch:DescribeAlarms",
"lambda:UpdateAlias",
"lambda:GetAlias",
"lambda:GetProvisionedConcurrencyConfig",
"sns:Publish"
@nironkoren
nironkoren / connect.ps1
Created July 16, 2017 16:34 — forked from jdforsythe/connect.ps1
Remote Desktop Auto Login Powershell Script
echo "Connecting to 192.168.1.100"
$Server="192.168.1.100"
$User="Administrator"
$Password="AdminPassword"
cmdkey /generic:TERMSRV/$Server /user:$User /pass:$Password
mstsc /v:$Server