Tuesday, February 12, 2013

Wednesday, February 6, 2013

What’s New in Windows PowerShell ISE 3.0


Hi, Microsoft has added lots of new feature in “Windows PowerShell ISE 3.0” . If you are “Powershell ISE” lover then you should try this new version of “Powershell ISE”. I am using windows8 and it has “Powershell V3” and “Powershell ISE v3” installed by default.

So what's new ? in New PowerShell ISE 3.0?

  It has the main feature which was lacking in ISE Version 2
  1. Intellisense.
      • 06-02-2013 12-50-03
      • 06-02-2013 12-45-52
  2. We can use and Insert Snippetstoo.
      • 06-02-2013 12-47-17
      • 06-02-2013 12-47-34
  3. Commands tab
    • In command tab, we can see List of all modules available. we can search for specific cmdlets.We can build command right on the Commands tab and directly run from there or insert to the script pane.
    • 06-02-2013 12-51-30
  4. Update Powershell Help
    • Now we can “Update Powershell Help” using Powershell ISE 3.0, it is very simple.
    • Click on “help” and click on “Update Windows PowerShell Help” {it run update-help cmdlet actually }
    • 06-02-2013 12-54-39
    • and it will start updating all Powershell Help files.
    • 06-02-2013 12-55-29
  5. New Menu bar Items
    • Microsoft had added two new menu bar items.
      • Tools
      • Add-ons
  6. Themes
    • Now we have a option of customise how our Script pane and Console pane look like.
    • PowerISE 3.0 has 6 inbuilt themses
      • click on Tools
      • Click on Options
      • 06-02-2013 13-03-59
      • Now you can see that default theme “Dark console, Light Editor” is selected.
      • to change the theme , click on “Manage Themes”
      • and select the theme which you want to apply and click on OK
      • 06-02-2013 13-16-19
      • and click on APPLY
      • and now everything will be look like “Matrix movie” Winking smile
      • 06-02-2013 13-17-26
That’s all for now Smile  
Thanks
Aman Dhally
clip_image001 clip_image002 clip_image003 clip_image005clip_image007

Tuesday, February 5, 2013

PowerShell Script for : RSA SecurID Software Token Converter

Hi,

If if RSA SecureID is deployed on your environment to use VPN securely , then i am sure that you are managing “Software Tokens” too.

Software token are RSA App which are installed on your mobile devices like iPhone,iPad, Android,or Blackberry phones and by installing them ,you don’t need to carry RSA SecureID hardware keys every time with you.

RSA Hardware key   RSA Application
1010053834  EMC_Image_C_1300591192404_9000-Passcode30s8d
When you configure software token on RSA Console for a a users it download as zip file and when you extract them it contains a .sdtid  file.

If you are deploying Token on Blackberry Device we just need to add x-rimdevice- in the front of the .sdtid file and need to send to the user on his email id.

but.!!!!!!!!!!!!

in case you are if you want to deploy to a iPhone or Android phone then we need to run below command and this create a txt file contain a URL for activation.

TokenConverter <path to stdid file> -mobile –p <username (or other password)> -o <output file>
 
You need to download token convertor software from here : http://www.emc.com/security/rsa-securid/rsa-securid-software-authenticators/converter.htm

Now what?

So whenever you need to convert this .stdid to activation link, you have to go to TokenConvertor folder and then do and provide all details manually, and in case you forget the switch you have to type everything again. This happen with me all the time. so to solve it i have written a TINY MINY
 Powershell script:

Download link :
http://gallery.technet.microsoft.com/scriptcenter/RSA-SecurID-Software-Token-4f05f792

What it does,?

It create the activation link and we just need to provide the full path to .sdtid file and the password.

How it works?
  • Download your Sotware_token zip file and extract it.
  • 01-02-2013 12-46-25 (1)
  • Copy the full path of the .sdtid file.
  • 01-02-2013 12-47-14
  • Now run the script
  • it asks you for full file path, paste the path which we copied before
  • 01-02-2013 12-48-11
  • click on OK
  • Now it ask you to provide the password , which you provided using assigning and distributing Software token on RSA Console and click on “OK.”
  • 01-02-2013 12-50-04 (1)
  • and it will open a text file containing the Activation link.
  • 01-02-2013 12-51-46
  • That’s all !
Download link :
http://gallery.technet.microsoft.com/scriptcenter/RSA-SecurID-Software-Token-4f05f792

Thanks
Aman Dhally

clip_image001 clip_image002 clip_image003 clip_image005 clip_image007