Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

PowerShell Qs

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 01-19-2007   #1 (permalink)
Adrian
Guest


 

PowerShell Qs

Hello all,

I just have some basic questions I hope you can help me with, first off
though I would just like to point out I know next to nothing about any sort
of programming.

I have been reading alot about PowerShell and looking through some blogs on
it, I now think it would be great benefit if I could get my head around it.
So Ive ordered some books and plan to set aside a few weekends to practice.

What I would like to know however is if the following is actually possible.

My first idea for a project is to create a Window or something I can call
into an MMC type window that would go out and check the status of diffferent
services that are running on different servers. Similar to what you have in
SQL 2005 "SQL Server Configuration Manager" where you can see straight off
what the condition is of certain services and you can stop/start/restart them.

Now I think that once the initial work is done it for one server it should
be easy enough to copy the initial settings and use them on different servers.

Is this something PowerShell can do?

Thanks,

Regards
Thanks fo

My System SpecsSystem Spec
Old 01-19-2007   #2 (permalink)
Brandon Shell
Guest


 

Re: PowerShell Qs

One thing I learned about powershell is during the learning process you will
spend hrs trying to get something to work just to see a post or blog that
does the same thing in one line.

Getting the info you want is trivial... Getting in a windows form is
slightly more complicated. /\/\0\/\/ has some good stuff on his blog about
it.

His old one: http://mow001.blogspot.com
New one: http://thepowershellguy.com

Brandon Shell
-----------------------
Stop by my blog some time
http://www.bsonposh.com/
Try the "Search of Powershell Blogs"
--------------------------------------

"Adrian" <Adrian@discussions.microsoft.com> wrote in message
news:E1126BE3-D632-4E41-A945-29AA44E68C6A@microsoft.com...
> Ahh thanks RichS, I will have a look and see what WMI can do to help, I
> thought the process might be straight forward but I suppose all good
> things
> take time.
>
> At least I know where to start now,
>
> Again Thanks
>
> "RichS" wrote:
>
>> PowerShell itself cannot determine the status of services on remote
>> servers
>> but by utilising WMI it would be possible to retrieve the information you
>> require.
>>
>> Incorporating a PowerShell window into a MMC type application will
>> involve
>> some programming to host Powershell. If you are new to programming and
>> powershell it may be an ambitious start.
>>
>> I would start by investigating using WMI in powershell & work out what
>> information you wish to return from the remote servers
>>
>> --
>> Richard Siddaway
>>
>> Please note that all scripts are supplied "as is" and with no warranty
>>
>>
>> "Adrian" wrote:
>>
>> > Hello all,
>> >
>> > I just have some basic questions I hope you can help me with, first off
>> > though I would just like to point out I know next to nothing about any
>> > sort
>> > of programming.
>> >
>> > I have been reading alot about PowerShell and looking through some
>> > blogs on
>> > it, I now think it would be great benefit if I could get my head around
>> > it.
>> > So Ive ordered some books and plan to set aside a few weekends to
>> > practice.
>> >
>> > What I would like to know however is if the following is actually
>> > possible.
>> >
>> > My first idea for a project is to create a Window or something I can
>> > call
>> > into an MMC type window that would go out and check the status of
>> > diffferent
>> > services that are running on different servers. Similar to what you
>> > have in
>> > SQL 2005 "SQL Server Configuration Manager" where you can see straight
>> > off
>> > what the condition is of certain services and you can
>> > stop/start/restart them.
>> >
>> > Now I think that once the initial work is done it for one server it
>> > should
>> > be easy enough to copy the initial settings and use them on different
>> > servers.
>> >
>> > Is this something PowerShell can do?
>> >
>> > Thanks,
>> >
>> > Regards
>> > Thanks fo


My System SpecsSystem Spec
Old 01-19-2007   #3 (permalink)
John Vottero
Guest


 

Re: PowerShell Qs

"RichS" <RichS@discussions.microsoft.com> wrote in message
news:9A4A2E83-A0B0-4F3B-B2AD-5807247194C9@microsoft.com...
> PowerShell itself cannot determine the status of services on remote
> servers
> but by utilising WMI it would be possible to retrieve the information you
> require.
>
> Incorporating a PowerShell window into a MMC type application will involve
> some programming to host Powershell. If you are new to programming and
> powershell it may be an ambitious start.


Actually, it's surprisingly easy to write an MMC snapin that uses PowerShell
under the covers. Exchange 2007 management tools were all written as
PowerShell cmdlets and after they had those working, they wrote MMC V3.0
snap-ins that called the cmdlets.

Still, this is an ambitious project for someone new to programming.


My System SpecsSystem Spec
Old 01-19-2007   #4 (permalink)
Brandon Shell
Guest


 

Re: PowerShell Qs

I was under the understanding his goal was to develope in powershell... not
in C#.

I agree... writing powershell snap-ins in C# and then using them in a MMC
project is a relatively simple venture, but I wouldn't add that on top of
having to learn C#.

IMHO... I think it would be a good idea to focus on getting the info with
Powershell and learning to use Windows Forms.

--
Brandon Shell
---------------
Stop by my blog some time
http://www.bsonposh.com/
Try the "Search of Powershell Blogs"
--------------------------------------
"John Vottero" <JVottero@mvpsi.com> wrote in message
news:%23Dn$nDDPHHA.1604@TK2MSFTNGP05.phx.gbl...
> "RichS" <RichS@discussions.microsoft.com> wrote in message
> news:9A4A2E83-A0B0-4F3B-B2AD-5807247194C9@microsoft.com...
>> PowerShell itself cannot determine the status of services on remote
>> servers
>> but by utilising WMI it would be possible to retrieve the information you
>> require.
>>
>> Incorporating a PowerShell window into a MMC type application will
>> involve
>> some programming to host Powershell. If you are new to programming and
>> powershell it may be an ambitious start.

>
> Actually, it's surprisingly easy to write an MMC snapin that uses
> PowerShell under the covers. Exchange 2007 management tools were all
> written as PowerShell cmdlets and after they had those working, they wrote
> MMC V3.0 snap-ins that called the cmdlets.
>
> Still, this is an ambitious project for someone new to programming.
>
>


My System SpecsSystem Spec
Old 01-20-2007   #5 (permalink)
Andrew Watt [MVP]
Guest


 

Re: PowerShell Qs

On Fri, 19 Jan 2007 12:29:32 -0800, Adrian
<Adrian@discussions.microsoft.com> wrote:

>My first idea for a project is to create a Window or something I can call
>into an MMC type window that would go out and check the status of diffferent
>services that are running on different servers. Similar to what you have in
>SQL 2005 "SQL Server Configuration Manager" where you can see straight off
>what the condition is of certain services and you can stop/start/restart them.
>
>Now I think that once the initial work is done it for one server it should
>be easy enough to copy the initial settings and use them on different servers.
>
>Is this something PowerShell can do?


Adrian,

PowerShell can find which services are running or not very easily.

On the local machine use

get-service *sql*

to find all SQL Server related services.

You want to find the running ones?

get-service *sql* |
where-object {$_.Status -eq "Running"}

or stopped,

get-service *sql* |
where-object {$_.Status -eq "Stopped"}

Save code in a .ps1 script. You can use it on other machines subject
to that machine's execution policy for scripts.

The GUI programming task you propose isn't a trivial one for a
programming newbie. You imply that you are a newbie, so maybe trying
to master one technology at a time is the best way to go.

Good luck.

Andrew Watt MVP
My System SpecsSystem Spec
Old 01-20-2007   #6 (permalink)
William Stacey [C# MVP]
Guest


 

Re: PowerShell Qs

yah. This seems like the type of app that may be better served by another
tool (i.e. a windows program)

--
William Stacey [C# MVP]

"Brandon Shell" <tshell@mask.gmail.com> wrote in message
news:eykzMtCPHHA.3872@TK2MSFTNGP06.phx.gbl...
| One thing I learned about powershell is during the learning process you
will
| spend hrs trying to get something to work just to see a post or blog that
| does the same thing in one line.
|
| Getting the info you want is trivial... Getting in a windows form is
| slightly more complicated. /\/\0\/\/ has some good stuff on his blog about
| it.
|
| His old one: http://mow001.blogspot.com
| New one: http://thepowershellguy.com
|
| Brandon Shell
| -----------------------
| Stop by my blog some time
| http://www.bsonposh.com/
| Try the "Search of Powershell Blogs"
| --------------------------------------
|
| "Adrian" <Adrian@discussions.microsoft.com> wrote in message
| news:E1126BE3-D632-4E41-A945-29AA44E68C6A@microsoft.com...
| > Ahh thanks RichS, I will have a look and see what WMI can do to help, I
| > thought the process might be straight forward but I suppose all good
| > things
| > take time.
| >
| > At least I know where to start now,
| >
| > Again Thanks
| >
| > "RichS" wrote:
| >
| >> PowerShell itself cannot determine the status of services on remote
| >> servers
| >> but by utilising WMI it would be possible to retrieve the information
you
| >> require.
| >>
| >> Incorporating a PowerShell window into a MMC type application will
| >> involve
| >> some programming to host Powershell. If you are new to programming and
| >> powershell it may be an ambitious start.
| >>
| >> I would start by investigating using WMI in powershell & work out what
| >> information you wish to return from the remote servers
| >>
| >> --
| >> Richard Siddaway
| >>
| >> Please note that all scripts are supplied "as is" and with no warranty
| >>
| >>
| >> "Adrian" wrote:
| >>
| >> > Hello all,
| >> >
| >> > I just have some basic questions I hope you can help me with, first
off
| >> > though I would just like to point out I know next to nothing about
any
| >> > sort
| >> > of programming.
| >> >
| >> > I have been reading alot about PowerShell and looking through some
| >> > blogs on
| >> > it, I now think it would be great benefit if I could get my head
around
| >> > it.
| >> > So Ive ordered some books and plan to set aside a few weekends to
| >> > practice.
| >> >
| >> > What I would like to know however is if the following is actually
| >> > possible.
| >> >
| >> > My first idea for a project is to create a Window or something I can
| >> > call
| >> > into an MMC type window that would go out and check the status of
| >> > diffferent
| >> > services that are running on different servers. Similar to what you
| >> > have in
| >> > SQL 2005 "SQL Server Configuration Manager" where you can see
straight
| >> > off
| >> > what the condition is of certain services and you can
| >> > stop/start/restart them.
| >> >
| >> > Now I think that once the initial work is done it for one server it
| >> > should
| >> > be easy enough to copy the initial settings and use them on different
| >> > servers.
| >> >
| >> > Is this something PowerShell can do?
| >> >
| >> > Thanks,
| >> >
| >> > Regards
| >> > Thanks fo
|


My System SpecsSystem Spec
Old 01-21-2007   #7 (permalink)
/\\/\\o\\/\\/ [MVP]
Guest


 

Re: PowerShell Qs

Inspired by this thread, I made a GUI script for monitoring PowerShell
scriptblocks:

you can use it like this :

C:\PowerShell\Scripts\start-monitor.ps1 -interval 30 -scriptblock
{get-service | select name,displayname,status}

or even :

PoSH> C:\PowerShell\Scripts\start-monitor.ps1 2 {1 | select
@{Name='Random';Expression={(new-object random).next(100)}},
{get-date}}

and it will show the result in a GUI datagrid, refreshed at the set interval
(by re-running the scriptBlock )

Watch my blog for the script I will post it later today

Greetings /\/\o\/\/
http://thePowerShellGuy.com

"William Stacey [C# MVP]" <william.stacey@gmail.com> wrote in message
news:eUJpj8LPHHA.3668@TK2MSFTNGP02.phx.gbl...
> yah. This seems like the type of app that may be better served by another
> tool (i.e. a windows program)
>
> --
> William Stacey [C# MVP]
>
> "Brandon Shell" <tshell@mask.gmail.com> wrote in message
> news:eykzMtCPHHA.3872@TK2MSFTNGP06.phx.gbl...
> | One thing I learned about powershell is during the learning process you
> will
> | spend hrs trying to get something to work just to see a post or blog
> that
> | does the same thing in one line.
> |
> | Getting the info you want is trivial... Getting in a windows form is
> | slightly more complicated. /\/\0\/\/ has some good stuff on his blog
> about
> | it.
> |
> | His old one: http://mow001.blogspot.com
> | New one: http://thepowershellguy.com
> |
> | Brandon Shell
> | -----------------------
> | Stop by my blog some time
> | http://www.bsonposh.com/
> | Try the "Search of Powershell Blogs"
> | --------------------------------------
> |
> | "Adrian" <Adrian@discussions.microsoft.com> wrote in message
> | news:E1126BE3-D632-4E41-A945-29AA44E68C6A@microsoft.com...
> | > Ahh thanks RichS, I will have a look and see what WMI can do to help,
> I
> | > thought the process might be straight forward but I suppose all good
> | > things
> | > take time.
> | >
> | > At least I know where to start now,
> | >
> | > Again Thanks
> | >
> | > "RichS" wrote:
> | >
> | >> PowerShell itself cannot determine the status of services on remote
> | >> servers
> | >> but by utilising WMI it would be possible to retrieve the information
> you
> | >> require.
> | >>
> | >> Incorporating a PowerShell window into a MMC type application will
> | >> involve
> | >> some programming to host Powershell. If you are new to programming
> and
> | >> powershell it may be an ambitious start.
> | >>
> | >> I would start by investigating using WMI in powershell & work out
> what
> | >> information you wish to return from the remote servers
> | >>
> | >> --
> | >> Richard Siddaway
> | >>
> | >> Please note that all scripts are supplied "as is" and with no
> warranty
> | >>
> | >>
> | >> "Adrian" wrote:
> | >>
> | >> > Hello all,
> | >> >
> | >> > I just have some basic questions I hope you can help me with, first
> off
> | >> > though I would just like to point out I know next to nothing about
> any
> | >> > sort
> | >> > of programming.
> | >> >
> | >> > I have been reading alot about PowerShell and looking through some
> | >> > blogs on
> | >> > it, I now think it would be great benefit if I could get my head
> around
> | >> > it.
> | >> > So Ive ordered some books and plan to set aside a few weekends to
> | >> > practice.
> | >> >
> | >> > What I would like to know however is if the following is actually
> | >> > possible.
> | >> >
> | >> > My first idea for a project is to create a Window or something I
> can
> | >> > call
> | >> > into an MMC type window that would go out and check the status of
> | >> > diffferent
> | >> > services that are running on different servers. Similar to what you
> | >> > have in
> | >> > SQL 2005 "SQL Server Configuration Manager" where you can see
> straight
> | >> > off
> | >> > what the condition is of certain services and you can
> | >> > stop/start/restart them.
> | >> >
> | >> > Now I think that once the initial work is done it for one server it
> | >> > should
> | >> > be easy enough to copy the initial settings and use them on
> different
> | >> > servers.
> | >> >
> | >> > Is this something PowerShell can do?
> | >> >
> | >> > Thanks,
> | >> >
> | >> > Regards
> | >> > Thanks fo
> |
>
>


My System SpecsSystem Spec
Old 01-21-2007   #8 (permalink)
/\\/\\o\\/\\/ [MVP]
Guest


 

Re: PowerShell Qs

And here it is :

http://thepowershellguy.com/blogs/po...or-script.aspx

It's not perfect monitoring like this but still as it takes any scriptblock
as input it is flexible, handy for on the fly work and fun to play with I
think

Greetings /\/\o\/\/

"/\/\o\/\/ [MVP]" <mow001@hotmail.NoSpam> wrote in message
news:ulzE3aTPHHA.1756@TK2MSFTNGP05.phx.gbl...
> Inspired by this thread, I made a GUI script for monitoring PowerShell
> scriptblocks:
>
> you can use it like this :
>
> C:\PowerShell\Scripts\start-monitor.ps1 -interval 30 -scriptblock
> {get-service | select name,displayname,status}
>
> or even :
>
> PoSH> C:\PowerShell\Scripts\start-monitor.ps1 2 {1 | select
> @{Name='Random';Expression={(new-object random).next(100)}},
> {get-date}}
>
> and it will show the result in a GUI datagrid, refreshed at the set
> interval (by re-running the scriptBlock )
>
> Watch my blog for the script I will post it later today
>
> Greetings /\/\o\/\/
> http://thePowerShellGuy.com
>
> "William Stacey [C# MVP]" <william.stacey@gmail.com> wrote in message
> news:eUJpj8LPHHA.3668@TK2MSFTNGP02.phx.gbl...
>> yah. This seems like the type of app that may be better served by
>> another
>> tool (i.e. a windows program)
>>
>> --
>> William Stacey [C# MVP]
>>
>> "Brandon Shell" <tshell@mask.gmail.com> wrote in message
>> news:eykzMtCPHHA.3872@TK2MSFTNGP06.phx.gbl...
>> | One thing I learned about powershell is during the learning process you
>> will
>> | spend hrs trying to get something to work just to see a post or blog
>> that
>> | does the same thing in one line.
>> |
>> | Getting the info you want is trivial... Getting in a windows form is
>> | slightly more complicated. /\/\0\/\/ has some good stuff on his blog
>> about
>> | it.
>> |
>> | His old one: http://mow001.blogspot.com
>> | New one: http://thepowershellguy.com
>> |
>> | Brandon Shell
>> | -----------------------
>> | Stop by my blog some time
>> | http://www.bsonposh.com/
>> | Try the "Search of Powershell Blogs"
>> | --------------------------------------
>> |
>> | "Adrian" <Adrian@discussions.microsoft.com> wrote in message
>> | news:E1126BE3-D632-4E41-A945-29AA44E68C6A@microsoft.com...
>> | > Ahh thanks RichS, I will have a look and see what WMI can do to help,
>> I
>> | > thought the process might be straight forward but I suppose all good
>> | > things
>> | > take time.
>> | >
>> | > At least I know where to start now,
>> | >
>> | > Again Thanks
>> | >
>> | > "RichS" wrote:
>> | >
>> | >> PowerShell itself cannot determine the status of services on remote
>> | >> servers
>> | >> but by utilising WMI it would be possible to retrieve the
>> information
>> you
>> | >> require.
>> | >>
>> | >> Incorporating a PowerShell window into a MMC type application will
>> | >> involve
>> | >> some programming to host Powershell. If you are new to programming
>> and
>> | >> powershell it may be an ambitious start.
>> | >>
>> | >> I would start by investigating using WMI in powershell & work out
>> what
>> | >> information you wish to return from the remote servers
>> | >>
>> | >> --
>> | >> Richard Siddaway
>> | >>
>> | >> Please note that all scripts are supplied "as is" and with no
>> warranty
>> | >>
>> | >>
>> | >> "Adrian" wrote:
>> | >>
>> | >> > Hello all,
>> | >> >
>> | >> > I just have some basic questions I hope you can help me with,
>> first
>> off
>> | >> > though I would just like to point out I know next to nothing about
>> any
>> | >> > sort
>> | >> > of programming.
>> | >> >
>> | >> > I have been reading alot about PowerShell and looking through some
>> | >> > blogs on
>> | >> > it, I now think it would be great benefit if I could get my head
>> around
>> | >> > it.
>> | >> > So Ive ordered some books and plan to set aside a few weekends to
>> | >> > practice.
>> | >> >
>> | >> > What I would like to know however is if the following is actually
>> | >> > possible.
>> | >> >
>> | >> > My first idea for a project is to create a Window or something I
>> can
>> | >> > call
>> | >> > into an MMC type window that would go out and check the status of
>> | >> > diffferent
>> | >> > services that are running on different servers. Similar to what
>> you
>> | >> > have in
>> | >> > SQL 2005 "SQL Server Configuration Manager" where you can see
>> straight
>> | >> > off
>> | >> > what the condition is of certain services and you can
>> | >> > stop/start/restart them.
>> | >> >
>> | >> > Now I think that once the initial work is done it for one server
>> it
>> | >> > should
>> | >> > be easy enough to copy the initial settings and use them on
>> different
>> | >> > servers.
>> | >> >
>> | >> > Is this something PowerShell can do?
>> | >> >
>> | >> > Thanks,
>> | >> >
>> | >> > Regards
>> | >> > Thanks fo
>> |
>>
>>

>


My System SpecsSystem Spec
Old 01-22-2007   #9 (permalink)
/\\/\\o\\/\\/ [MVP]
Guest


 

Re: PowerShell Qs

Sorry, As you tried this script and it was not working correctly.

There was a part of the script missing on my blog (most critical
timer.start() was missing, and the add_shown event filling the datagrid on
starting, thanks to "P" for mentioning it )

I updated the script, it should work now

Greetings /\/\o\/\/

"/\/\o\/\/ [MVP]" <mow001@hotmail.NoSpam> wrote in message
news:%23hTt5baPHHA.4296@TK2MSFTNGP05.phx.gbl...
> And here it is :
>
> http://thepowershellguy.com/blogs/po...or-script.aspx
>
> It's not perfect monitoring like this but still as it takes any
> scriptblock as input it is flexible, handy for on the fly work and fun to
> play with I think
>
> Greetings /\/\o\/\/
>
> "/\/\o\/\/ [MVP]" <mow001@hotmail.NoSpam> wrote in message
> news:ulzE3aTPHHA.1756@TK2MSFTNGP05.phx.gbl...
>> Inspired by this thread, I made a GUI script for monitoring PowerShell
>> scriptblocks:
>>
>> you can use it like this :
>>
>> C:\PowerShell\Scripts\start-monitor.ps1 -interval 30 -scriptblock
>> {get-service | select name,displayname,status}
>>
>> or even :
>>
>> PoSH> C:\PowerShell\Scripts\start-monitor.ps1 2 {1 | select
>> @{Name='Random';Expression={(new-object random).next(100)}},
>> {get-date}}
>>
>> and it will show the result in a GUI datagrid, refreshed at the set
>> interval (by re-running the scriptBlock )
>>
>> Watch my blog for the script I will post it later today
>>
>> Greetings /\/\o\/\/
>> http://thePowerShellGuy.com
>>
>> "William Stacey [C# MVP]" <william.stacey@gmail.com> wrote in message
>> news:eUJpj8LPHHA.3668@TK2MSFTNGP02.phx.gbl...
>>> yah. This seems like the type of app that may be better served by
>>> another
>>> tool (i.e. a windows program)
>>>
>>> --
>>> William Stacey [C# MVP]
>>>
>>> "Brandon Shell" <tshell@mask.gmail.com> wrote in message
>>> news:eykzMtCPHHA.3872@TK2MSFTNGP06.phx.gbl...
>>> | One thing I learned about powershell is during the learning process
>>> you
>>> will
>>> | spend hrs trying to get something to work just to see a post or blog
>>> that
>>> | does the same thing in one line.
>>> |
>>> | Getting the info you want is trivial... Getting in a windows form is
>>> | slightly more complicated. /\/\0\/\/ has some good stuff on his blog
>>> about
>>> | it.
>>> |
>>> | His old one: http://mow001.blogspot.com
>>> | New one: http://thepowershellguy.com
>>> |
>>> | Brandon Shell
>>> | -----------------------
>>> | Stop by my blog some time
>>> | http://www.bsonposh.com/
>>> | Try the "Search of Powershell Blogs"
>>> | --------------------------------------
>>> |
>>> | "Adrian" <Adrian@discussions.microsoft.com> wrote in message
>>> | news:E1126BE3-D632-4E41-A945-29AA44E68C6A@microsoft.com...
>>> | > Ahh thanks RichS, I will have a look and see what WMI can do to
>>> help, I
>>> | > thought the process might be straight forward but I suppose all good
>>> | > things
>>> | > take time.
>>> | >
>>> | > At least I know where to start now,
>>> | >
>>> | > Again Thanks
>>> | >
>>> | > "RichS" wrote:
>>> | >
>>> | >> PowerShell itself cannot determine the status of services on remote
>>> | >> servers
>>> | >> but by utilising WMI it would be possible to retrieve the
>>> information
>>> you
>>> | >> require.
>>> | >>
>>> | >> Incorporating a PowerShell window into a MMC type application will
>>> | >> involve
>>> | >> some programming to host Powershell. If you are new to programming
>>> and
>>> | >> powershell it may be an ambitious start.
>>> | >>
>>> | >> I would start by investigating using WMI in powershell & work out
>>> what
>>> | >> information you wish to return from the remote servers
>>> | >>
>>> | >> --
>>> | >> Richard Siddaway
>>> | >>
>>> | >> Please note that all scripts are supplied "as is" and with no
>>> warranty
>>> | >>
>>> | >>
>>> | >> "Adrian" wrote:
>>> | >>
>>> | >> > Hello all,
>>> | >> >
>>> | >> > I just have some basic questions I hope you can help me with,
>>> first
>>> off
>>> | >> > though I would just like to point out I know next to nothing
>>> about
>>> any
>>> | >> > sort
>>> | >> > of programming.
>>> | >> >
>>> | >> > I have been reading alot about PowerShell and looking through
>>> some
>>> | >> > blogs on
>>> | >> > it, I now think it would be great benefit if I could get my head
>>> around
>>> | >> > it.
>>> | >> > So Ive ordered some books and plan to set aside a few weekends to
>>> | >> > practice.
>>> | >> >
>>> | >> > What I would like to know however is if the following is actually
>>> | >> > possible.
>>> | >> >
>>> | >> > My first idea for a project is to create a Window or something I
>>> can
>>> | >> > call
>>> | >> > into an MMC type window that would go out and check the status of
>>> | >> > diffferent
>>> | >> > services that are running on different servers. Similar to what
>>> you
>>> | >> > have in
>>> | >> > SQL 2005 "SQL Server Configuration Manager" where you can see
>>> straight
>>> | >> > off
>>> | >> > what the condition is of certain services and you can
>>> | >> > stop/start/restart them.
>>> | >> >
>>> | >> > Now I think that once the initial work is done it for one server
>>> it
>>> | >> > should
>>> | >> > be easy enough to copy the initial settings and use them on
>>> different
>>> | >> > servers.
>>> | >> >
>>> | >> > Is this something PowerShell can do?
>>> | >> >
>>> | >> > Thanks,
>>> | >> >
>>> | >> > Regards
>>> | >> > Thanks fo
>>> |
>>>
>>>

>>

>


My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing PowerShell dependent features on W2K8 with PowerShell CTP Greg Wojan PowerShell 14 05-16-2008 08:15 AM
when run powershell script as windows service ,powershell fail powershell fail on winodws 2008 PowerShell 6 01-15-2008 03:20 PM
Powershell Plus - Free for non commercial Use and Powershell Analyzer1.0 released Karl Prosser[MVP] PowerShell 2 12-12-2007 12:43 PM
Automatic PowerShell Error Parsing in PowerShell Analyzer and PowerShellPlus Karl Prosser[MVP] PowerShell 0 11-14-2007 02:32 AM
PowerShell Leaders Join Forces and offer a pre-release version of PowerShell for 50% off the retail value klumsy@xtra.co.nz PowerShell 0 06-19-2007 02:42 PM


Update your Vista Drivers Update Your Drivers Now!!

Vistax64.com 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 2005-2008