0
votes
0answers
25 views

Best way to deploy Powershell 4.0 on Windows 7 sp1 and server 2008

I am planning to deploy powershell 4.0 on all Win 7 and server 2008 and 2008R2. I did some research about this, but couldn't find the official way to do it. I can just use batch file or GPO to ...
0
votes
1answer
309 views

Powershell, Task Scheduler or loop and sleep

I have a job that needs to go off every minute or so, it loads a DLL i have written in C# that retrieves state for an SQL Server Mirror (Primary, Mirror and witness) for a number of databases; it ...
2
votes
2answers
565 views

Mapped networkdrive on logout

I'm using a script to keep a mapped networkconnection alive, but ofcourse the mapped connection is gone when I logout. The point is now, that I'm running this on Windows Server 2008 R2, where I use ...
2
votes
1answer
3k views

How to Uninstall a windows service using Powershell Script?

I want to find and uninstall a windows service. how can I accomplish this using powrshell script?
0
votes
2answers
819 views

Not able to run powershell script from autosys

I am new to powershell and using 1.0version and am trying to write a powershell script that I can execute using autosys scheduler. When the I run the command in autosys powershell -command "& { ...
3
votes
2answers
10k views

Powershell Access to the path denied

I'm sure this has been asked a million times, but I can't figure out why I can't run this simple command in powershell: PS> new-item -path c:\users\me\desktop\testfolder -name (get-date).txt ...
1
vote
2answers
2k views

How do you install .net4 on a Server 2008 r2 machine through psremoting in powershell?

I need to write a script that installs .net 4 remotely using powershell to a group of Server 2008 R2 machines. I based my script off of ...
2
votes
2answers
769 views

Automatically open a PowerShell session on Hyper-V Server 2008 R2 or Windows Server 2008 R2 Core?

I have a virtual server running with Hyper-v r2 sp1 (standalone product). I imagine it applies also to W2K8 Core install. When I connect to the remote desktop, both sconfig.cmd and cmd.exe are ...