AWS Assume role [Powershell]

This is a handy 2 lines Powershell script to assume a role in AWS, create temporary credentials and run another command using the assumed roles: $Response = (Use-STSRole -Region eu-west-1 -RoleArn arn:aws:iam::<accountID>:role/<RoleName> -RoleSessionName RoleSession1).Credentials $Credentials = New-AWSCredentials -AccessKey $Response.AccessKeyId -SecretKey $Response.SecretAccessKey -SessionToken $Response.SessionToken Get-S3Bucket -BucketName yourbucketnamehere -Credential $Credentials

April 3, 2016 · Dragos Madarasan

Exporting unexportable certificates

You sometimes run into cases where a certificate was imported by another sysadmin and he forgot to check the option to export the private key. If you want to export the certificate together with the private key the option would be greyed out. Unless you have access to the original certificate there is no Windows built-in method to retrieve the certificate. Mimikatz is a nice program that hooks into the Windows NT APIs and allows you to export unexportable certificate. ...

April 25, 2015 · Dragos Madarasan

Reviewed Microsoft System Center Configuration Manager

A month ago I was approached by Packtpub to review a book for them

November 22, 2013 · Dragos Madarasan

Microsoft Summit 2013 &#8211; get discount codes from ITSpark

Why you should attend Microsoft Summit 2013

October 31, 2013 · Dragos Madarasan

Microsoft Private Cloud TechTalk

A few days before leaving overseas I was invited to talk about Private Cloud concepts with Tudy Damian (MVP, Virtualization) and Adrian Stoian (MVP, System Center). The recording is in Romanian and can be found here.

April 8, 2012 · Dragos Madarasan