Skip to content

Commit 8c88820

Browse files
authored
Merge pull request MicrosoftDocs#12521 from MicrosoftDocs/aljupudi-9800612-Set-ServerComponentStateupdate
Update IMAP/POP service behavior w.r.t Set-ServerComponentState
2 parents e7f32b7 + 6f78e3d commit 8c88820

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

exchange/exchange-ps/exchange/Set-ServerComponentState.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,26 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
3838

3939
### Example 1
4040
```powershell
41-
Set-ServerComponentState -Component UMCallRouter -Identity MailboxServer01 -Requester Maintenance -State Active
41+
Set-ServerComponentState -Identity MailboxServer01 -Component UMCallRouter -Requester Maintenance -State Active
4242
```
4343

4444
This example sets the Unified Messaging (UM) component state to Active, as requested by maintenance mode.
4545

46+
### Example 2
47+
```powershell
48+
Set-ServerComponentState -Identity Exch5 -Component ServerWideOffline -State Inactive -Requester Maintenance
49+
50+
Set-ServerComponentState -Identity Exch5 -Component ServerWideOffline -State Active -Requester Maintenance
51+
```
52+
53+
This example prepares the server for maintenance, such as installing a Security Update or Cumulative Update.
54+
55+
The first command changes the state of all server components to Inactive.
56+
57+
The second command changes the state to Active after the maintenance is over (required).
58+
59+
**Note**: By design, the Microsoft Exchange IMAP4 and Microsoft Exchange POP3 services stop if the related `ImapProxy` and `PopProxy` components are in the Inactive state. The services may need to be manually started after the related `ImapProxy` and `PopProxy` components are changed to the Active state.
60+
4661
## PARAMETERS
4762

4863
### -Identity

0 commit comments

Comments
 (0)