aspose file tools*
The moose likes Beginning Java and the fly likes Check Windows PowerShell is installed or not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Check Windows PowerShell is installed or not" Watch "Check Windows PowerShell is installed or not" New topic
Author

Check Windows PowerShell is installed or not

smart gupta
Greenhorn

Joined: Apr 28, 2009
Posts: 4
Dear All,

I am new to java and I need help from you experts to achieve my goal.

we have some powershell scripts and before executing those scripts, I want to check whether Windows PowerShell is install on Windows or not?

So please advice me what is the best and simple way to implement it?

Any reply would be appreciated.
Thanks in advance..
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

"smart gupta" please check your private messages for an administrative matter.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

smart gupta wrote:Dear All,

I am new to java and I need help from you experts to achieve my goal.

we have some powershell scripts and before executing those scripts, I want to check whether Windows PowerShell is install on Windows or not?

So please advice me what is the best and simple way to implement it?

Any reply would be appreciated.
Thanks in advance..


See http://forums.oracle.com/forums/thread.jspa?threadID=2225877&tstart=0


Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19722
    
  20

Thanks James.

"smart gupta", BeForthrightWhenCrossPostingToOtherSites.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Check Windows PowerShell is installed or not