Home
Blogs
DBAs@Midnight
Admin
Dev
Midnight Snacks
All Vids
Events
Contact
Links
NTSSUG

Leave a comment.

Name:
Email:
Comment:
(500 chars.)

0 of 500.
What's the picture?



Powershell with –NoExit


Author: Sean McCown
Date: 08/25/2008
Length: 5:13
Size: 19,331 KB

Here I show you how to get around the problem of your Powershell window closing down when you call it from either the run window or from other programs. If you get errors or want to see something that was printed on the screen it’s quite often impossible unless you startup PowerShell or dos first. This way you can call your scripts in a way that allows you to see the results no matter what. It’s a very simple technique, but very useful.

Right-click to download video

Others in Series:

You might also like:

Server Properties
Powershell Profiles
Working with PSDrive in PowerShell
Grant DB Permissions
Replace sp_MSForEachDB with Powershell