Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - How to schedule a Power Shell script

Reply
 
Old 09-18-2007   #1 (permalink)
NKX


 
 

How to schedule a Power Shell script

How can I schedule a power shell script?

My System SpecsSystem Spec
Old 09-18-2007   #2 (permalink)
Brandon Shell


 
 

Re: How to schedule a Power Shell script

The same as you would a vbscript or batch file... task scheduler.

Powershell.exe <ScriptName> <Parameters>
"NKX" <NKX@xxxxxx> wrote in message
news:B89816AB-6E3C-42A9-B398-B6984D7412EA@xxxxxx
Quote:

> How can I schedule a power shell script?
My System SpecsSystem Spec
Old 09-18-2007   #3 (permalink)
NKX


 
 

Re: How to schedule a Power Shell script

Would you provide an exmaple of the command line that would be used in the
scheduler that includes the executable and a power shell script with
parameters please?

"Brandon Shell" wrote:
Quote:

> The same as you would a vbscript or batch file... task scheduler.
>
> Powershell.exe <ScriptName> <Parameters>
> "NKX" <NKX@xxxxxx> wrote in message
> news:B89816AB-6E3C-42A9-B398-B6984D7412EA@xxxxxx
Quote:

> > How can I schedule a power shell script?
>
>
My System SpecsSystem Spec
Old 09-18-2007   #4 (permalink)
Brandon Shell


 
 

Re: How to schedule a Power Shell script

Powershell.exe <ScriptName> <Parameters>

Powershell.exe c:\temp\get-compinfo -verbose

"NKX" <NKX@xxxxxx> wrote in message
news:5BAEB10F-6EEA-4C98-823D-5242730176E8@xxxxxx
Quote:

> Would you provide an exmaple of the command line that would be used in the
> scheduler that includes the executable and a power shell script with
> parameters please?
>
> "Brandon Shell" wrote:
>
Quote:

>> The same as you would a vbscript or batch file... task scheduler.
>>
>> Powershell.exe <ScriptName> <Parameters>
>> "NKX" <NKX@xxxxxx> wrote in message
>> news:B89816AB-6E3C-42A9-B398-B6984D7412EA@xxxxxx
Quote:

>> > How can I schedule a power shell script?
>>
>>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
power shell in a script PowerShell
Executing Power Shell Scripts from Windows Shell PowerShell
How to pass arguments to a power shell script PowerShell
How to schedule a Powershell script?? PowerShell
How do you run a Power Shell Script against a list of machines? PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46