Hi

i wrote this script to easy my daily task. we are using RSA SecurID in our environment. We mainly use software VPN app from RSA, To distrubte that app we need to assign a token to the device .

and if you are using iphone or andriod we need to provide a activation link via email. this script helps in generating activation links.

for more info see this link  : http://newdelhipowershellusergroup.blogspot.in/2013/02/powershell-script-for-rsa-securid.html

 

Best Regards!

Aman Dhally 

Come and join my journey of 100 Days of Self Improvement programme: https://www.facebook.com/100DoSI or at www.amandhally.net   

MY PowerShell Blog : http://newdelhipowershellusergroup.blogspot.com/ 

MY Personal Website: www.amandhally.net

 

 

 

 

PowerShell
Edit|Remove
<# 
            " Satnaam WaheGuru Ji"     
             
            Author  :  Aman Dhally 
            E-Mail  :  amandhally@gmail.com 
            website :  www.amandhally.net 
            twitter : https://twitter.com/#!/AmanDhally 
            facebook: http://www.facebook.com/groups/254997707860848/ 
            Linkedin: http://www.linkedin.com/profile/view?id=23651495 
            Date    : 01 Feb 2012 
            File    : RSA_Convertor 
            Purpose : make Our Life Easy 
             
            Version : 2 
 
            my Spider runned Away :(  
 
 
#> 
 
 
# Download Convertor : http://www.emc.com/security/rsa-securid/rsa-securid-software-authenticators/converter.htm 
 
 
## Adding Asseblies 
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic'| Out-Null 
 
# Variable 
# This is a path for TokenCovertor.exe please Change the path as per your installation folder. 
 
Write-Warning " On My laptop This is a path for TokenCovertor.exe please Change the path as per your installation folder" 
$RsaTokenSoft = 'C:\Program Files\RSATokenConverter' 
 
 
#Deleting if any old file exists 
# I am saving the file to the D:\ Drive , Please change it if you dont have D drive 
if (Test-Path D:\RSA_VPN_Link.txt) { Remove-Item -Force D:\RSA_VPN_Link.txt } 
 
#Read Box for Entering File Path 
$FilePath = [Microsoft.VisualBasic.Interaction]::InputBox("Please Provide a Full Path to .sdtid File"".sdtid file Path") 
 
#Read Box for Entering Password 
$KeyPassword = [Microsoft.VisualBasic.Interaction]::InputBox("Please Type Password""Password:") 
 
#Executing RSA_Token_Convertor 
& $RsaTokenSoft\TokenConverter.exe $FilePath -mobile -$KeyPassword -o D:\RSA_VPN_Link.txt 
 
#Opening Text File with a Link 
Invoke-Expression D:\RSA_VPN_Link.txt 
 
 
##End of the script