Solved

Get-ItemProperty

Posted on 2014-01-20
4
513 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

730 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