Microsoft PowerShell 2.0 RC with Ruby & vi
i didn’t notice that PowerShell which is bundled in Windows7, can also be installed in WIndows XP SP3. and i googled and knew RC version is available now. so why not give a try?
you can download the rc version here
https://connect.microsoft.com/windowsmanagement/Downloads
after install, you need to permit script execution
Set-ExecutionPolicy RemoteSigned
and install ruby and vi, which vendor you like
i prefer this ruby distribution
http://rubyinstaller.org/
vi has many variation, so i can’t choose one. anyway gvim might be a good idea..
http://www.vim.org/download.php#pc
and you need to setup the vi path.
modify or create below file
%userprofile%¥My Documents¥WindowsPowerShell¥Microsoft.PowerShell_profile.ps1
and add this line
Set-Alias vi 'path/to/vi.exe'
that’s all! you can do many convenient script jobs in Windows XP!
