AWS getVPCnameById

I was recently looking at retrieving a VPC’s Name based on its id. Here is the Python/Boto3 implementation from boto3.session import Session session = Session(aws_access_key_id='aaaa',aws_secret_access_key='XXX',region_name='eu-west-1') ec2 = session.resource('ec2') vpc = ec2.Vpc('vpc-6661b904') vpc.tags[0]['Value'] The one liner version for AWS cli is aws ec2 describe-vpcs --vpc-ids vpc-6188b904 --query "Vpcs[0].Tags[?Key=='Name'].Value[]" --output text

February 17, 2016 · Dragos Madarasan
Troubleshooting Citrix XenApp is out!

Troubleshooting Citrix XenApp is out!

PacktPub approached me in the spring of 2015 to write a Citrix book

January 5, 2016 · Dragos Madarasan
Exporting unexportable certificates

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
Going to Microsoft Summit 2014

Going to Microsoft Summit 2014

Have just received confirmation from my employer that I will be able to participate at this year’s Microsoft Summit 2014. Microsoft Summit, currently at the 2nd edition is probably the largest event for the IT Pro community and a few acquaintances are speaking at the event including Tudor Damian, Adrian Stoian and others. The event is being held at Willbrook Platinum Business & Convention Center Bucharest (same place as last year) between 12/13 November 2014. ...

October 21, 2014 · Dragos Madarasan
Moving virtual volume between remote copy groups (3PAR)

Moving virtual volume between remote copy groups (3PAR)

Moving a 3PAR virtual volume between two remote groups is a scenario

August 24, 2014 · Dragos Madarasan