Tuesday, February 12, 2013

I have one of the top 10% most viewed LinkedIn profiles

Hi,

I don’t know what its means exactly but it gives a feel good factor Smile .

12-02-2013 10-43-11

 

Thanks
Aman Dhally
clip_image001 clip_image002 clip_image003 clip_image005clip_image007

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

Wednesday, January 30, 2013

Where is my Windows PowerShell Integrated Scripting Environment (ISE) on Windows8.

Hi,
Two days back i finally upgraded my laptop to “Windowd8 Pro”. After clean installation of the Windows8 Operating system my first expression was “WOW!”. I like it. Windows8 Operating System really looks very cool.
After installation the first program i run was “Powershell”. Microsoft had added a lots of new cmdlets on the new version on PowerShell v3. Microsoft is shipping Windowd8 with New Windows PowerShell Integrated Scripting Environment (ISE) and this new  “Powershell ISE” contain a lots of new features.
Where is my Windows PowerShell Integrated Scripting Environment (ISE) is on Windows 8???????
After the installation of windows8 pro, i was not able to find “Powershell ISE” anywhere,
30-01-2013 10-43-12
i searched and found it under,
  • Press the “windows Key” or click on “Start” 30-01-2013 10-36-39
  • Now Move you Mouse on the Top “right “ of the corner of the screen , you that the “Right hand side” option bar comes and click on Settings.
  • 30-01-2013 10-39-07
  • Now click on”tile”
  • 30-01-2013 10-40-31
  • Change the “Show administrative tool” button from “No” to “yes”
  • 30-01-2013 10-41-49
  • and here it is our “Powershell ISE”
  • 30-01-2013 10-44-37
Lets Pin Windows PowerShell Integrated Scripting Environment (ISE)  to our taskbar so that we can access it easily.
  • Right Click on “windows Powershell ISE.
  • In the bottom you can see the “Pin to taskbar” Icon, Click on it,
  • 30-01-2013 10-45-30
  • Now we have “Powershell ISE” on our taskbar.
  • 30-01-2013 11-06-58

Thanks
Aman Dhally

clip_image001 clip_image002 clip_image003 clip_image005 clip_image007

Tuesday, January 15, 2013

Powershell and Active Directory: Finding User whose password is Expired.

Hi,

Yesterday i have got a call from my remote user, she is  saying that she is not able to login to the Intranet System and Outlook, I asked her if she has got any notifications about password failed (Setting using Group Policies). and she denied.

i said “OK”..

Somehow i feel this is related to her password, i thought let’s see if her password is expired or not.

The best way to check this is using “Powershell”

I opened my Powershell Console.

I imported my ActiveDirectory Module ( Import-Module ActiveDirectory )

and i shoot the command line.

Get-ADUser UserName -Properties *

14-01-2013 13-00-55

and when i scrolled down and i  seen “PasswordExpired : True”

14-01-2013 13-00-19

and i call that lady over the phone and  told her to change her password.

You can also use this command line to find all users those password are expired.

Get-ADUser -Filter 'PasswordExpired -eq $true'

All Sorted… and i live “happily ever after” (till the second problem hit me Winking smile)

I love Powershell.

Thanks

Aman Dhally

 

clip_image001 clip_image002 clip_image003 clip_image005 clip_image007