Solved

Get-ItemProperty

Posted on 2014-01-20
4
506 Views
Last Modified: 2014-01-20
i am trying to determine what the number output of this powershell command

Get-ItemProperty 'hklm:\system\currentcontrolset\services\MSExchangeIMAP4' | Select Start

actually represents. It retunrs a number, but I cant find any documentation on what the numbers actually represent, it will be the service status, i.e. running, but I cant find any sort of key to determine what the numbers represents. If of any use, its relating to an exchange 2010 server running on windows 2008 r2 server.
0
Comment
Question by:pma111
  • 2
4 Comments
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 39794751
No, this is not the service status; this is the start type of the service.
In short:
0 = Kernel
1 = I/O Subsystem
2 = Automatic Start
3 = Manual Start
4 = Disabled
Check here for details:
CurrentControlSet\Services Subkey Entries
http://support.microsoft.com/kb/103000
To get the status of a service, use Get-Service and check the Status property:
Get-Service MSExchangeIMAP4 | Select Status or (Get-Service MSExchangeIMAP4).Status
0
 
LVL 3

Author Comment

by:pma111
ID: 39794757
Thanks
0
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 39794766
The below are true.. for the IMAP service.

Value 1 = Startup Type "System"
Value 2 = Startup Type "Automatic"
Vlaue 3 = Startup Type "Manual"
Value 4 = Startup Type "Disabled"

Will.
0
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 39794770
Ahhh too late!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question