Decided to give Powershell a try during Good Friday. Anyway, I am noob on scripting stuffs *nod nod*.

Useful link: PowerShell Dictionary

Quick info:

  • File extension = ps1
  • Start -> all programs -> accessories -> windows powershell -> Run windows powershell as administrator.
  • Type “set-executionpolicy remotesigned” to modify the default setting, more detail please refer here.
  • Or just right click the ps1 file and choose ‘edit’, it will bring you to edit IDE.

Google some samples and write my first hello world powershell script to compare files in two folders:CompareFolder

Advertisements