Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - Using PowerShell to change service descriptions

Reply
 
Old 03-23-2007   #1 (permalink)
matt R


 
 

Using PowerShell to change service descriptions

How can I append to a service "description"?

set-service allows me to change the description, but I do not see where I
can read what is already there so I can add to it.

The whole process is to add an A, M of D to the beginning of all description
of for each serice so I can tell if they were set to Automatic, Manual or
Disabled before I start to mess with them.

Thanks
Matt
Just getting started with PowerShell, so any and all tips welcome.




My System SpecsSystem Spec
Old 03-27-2007   #2 (permalink)


 
 

Quote  Quote: Originally Posted by matt R View Post
How can I append to a service "description"?

set-service allows me to change the description, but I do not see where I
can read what is already there so I can add to it.

The whole process is to add an A, M of D to the beginning of all description
of for each serice so I can tell if they were set to Automatic, Manual or
Disabled before I start to mess with them.

Thanks
Matt
Just getting started with PowerShell, so any and all tips welcome.
WMI win32_service.description should get you the description to which you can add whatever you want.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Change the XML descriptions of the install.wim Vista installation & setup
Newsgroup Descriptions (WindowsMail) Vista mail
Retrieve File System Object Descriptions For Executables PowerShell
when run powershell script as windows service ,powershell fail PowerShell
Computer descriptions Vista networking & sharing


Vista Forums 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 Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46