« October 2008 | Main

November 2008 Archives

November 2, 2008

One thing you cannot achieve using command prompt but Windows PowerShell

I found it is not so special to run vbs (Visual Basic Script) in Windows PowerShell because most of the time you can do that using cscript with command prompt (cmd.exe).

But what I guarantee you cannot do is to change directory to a remote machine using command prompt for example,  as can see from the picture below I have a machine with IP address 192.168.1.26 so I can change the directory to c root of this machine by cd \\192.168.1.26\c$. I can perform other file operation directly in the remote machine such as make directory, copy file(s), delete directory and more.

In the past in order to manipulate files in between two or more machines you might need to map a network drive with a local drive letter. Windows Powershell gives me a better way to do this today.

powershell

In order to get to know more about Windows PowerShell go to script center :http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx.

Please feedback if you have other tips.

About November 2008

This page contains all entries posted to Ming Man Chan's Blog in November 2008. They are listed from oldest to newest.

October 2008 is the previous archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle