brad
(Br@d)
1
This simple little powershell script allows to interactively start or stop a servies plus change its startup type if desired on a local or remote computer. You can also expanded apon this to run on a list of computers. It is very straight forward to run and documented line by line.
Enjoy
http://community.spiceworks.com/scripts/show/1108-setservice-ps1
5 Spice ups
nice, thanks for that
I created a powershell script to create discovery mailboxes in Exchange, it has an error check that you might like for your code.
do {
$SRV= Read-Host “Enter Name of Service”
$SRVIsValid = [bool](Get-Service -Name $SRV -ErrorAction SilentlyContinue)
if ($SRVIsValid =eq “”) { Write-Host “Service does not exist - Please try again” }
}
while ($SRVIsValid -eq “”)
I’m sure there is a better way of doing it but this will throw an error if the service is not valid and ask the user of the script to try again 
could probably expand it to “or press L” to list all avaliable services.
I’m a sucker for time saving powershell
one of these days I’ll get around to publishing some of my exchange powershell scripts