Home » Scripting » Loading Screen Powershell Messages in this topic - RSS
|
11/23/2011 6:48:07 AM
mister
mister
Posts 6
Hi ! I wonder if there is a way to show a gui loading screen in powershell while something is running in a script.


Best regards !
11/23/2011 7:04:13 AM
mister
mister
Posts 6
Like when you use for example get-qaduser, a loading screen appears in powershell. Is there some way to import that to gui via windows forms or some other way ?
edited by mister on 11/23/2011
12/11/2011 7:44:19 AM
admin
admin
Posts 331
It is possible to create a forms etc in PowerShell, but it's probably easier to do that in Visual Studio with a .NET language. Here are some examples:

http://technet.microsoft.com/en-us/library/ff730941.aspx
https://sites.google.com/site/assafmiron/ServerScripts/computerinventorygui

It's easier to print text out to the command line - maybe using something like this:
http://technet.microsoft.com/en-us/library/dd347663.aspx

Hope this helps,

David
12/11/2011 11:59:01 PM
mister
mister
Posts 6
I have alreday done all the forms etc. Thx for the Write-Progress link though
12/12/2011 12:33:25 AM
admin
admin
Posts 331
If you really need a GUI, PowerShell might not be the best option as it's designed for automation from the command line. There are some free editions of visual studio if you don't have licenses for the full version:

http://www.microsoft.com/express
http://www.icsharpcode.net/

It's also possible to run powershell scripts from .NET. There might be a steeper learning curve for a .NET language though depending on your programming experience and what you want to do with it.
12/12/2011 12:36:27 AM
admin
admin
Posts 331
I haven't used it before, but this link might also be of interest:

http://www.sapien.com/software/primalforms
pages: 1
|

Home » Scripting » Loading Screen Powershell