What's your current cmd?

-Daniel Ratliff

-----Original Message-----
From: christopher.catl...@us.sogeti.com 
[christopher.catl...@us.sogeti.com<mailto:christopher.catl...@us.sogeti.com>]
Sent: Thursday, January 23, 2014 03:34 PM Eastern Standard Time
To: powershell@lists.myitforum.com
Subject: [powershell] Any way of running a powershell script from a scheduled 
task, silently?

I am running a script regularly to set some user settings, if it sees a 
particular piece of hardware present on the system.

I’ve tried the “–WindowStyle Hidden” and the “-NonInteractive” switches and 
they do not hide the powershell dialog.
A blank, blue window, is shown.

I’d really rather not have to wrap it inside a batch or vbscript.

This is a script running on Win8.1 machines, so v4 is available.

Christopher Catlett
Consultant | Detroit
[MCTS_2013_small]

Sogeti USA
Office 248-876-9738 |Fax 877.406.9647
26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456
www.us.sogeti.com<http://www.us.sogeti.com/>


================================================
Did you know you can also post and find answers on PowerShell in the forums?
http://www.myitforum.com/forums/default.asp?catApp=1

The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material.  If you receive this 
material/information in error,
please contact the sender and delete or destroy the material/information.

================================================
Did you know you can also post and find answers on PowerShell in the forums?
http://www.myitforum.com/forums/default.asp?catApp=1

<<inline: image001.jpg>>

Reply via email to