Skip to content

Commit 6957ee4

Browse files
authored
Reorder parameters in Set-ServerComponentState examples
1 parent ad453df commit 6957ee4

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

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

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,25 @@ 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

4646
### Example 2
47-
4847
```powershell
49-
Set-ServerComponentState Exch5 -Component ServerWideOffline -State Inactive -Requester Maintenance
48+
Set-ServerComponentState -Identity Exch5 -Component ServerWideOffline -State Inactive -Requester Maintenance
49+
50+
Set-ServerComponentState -Identity Exch5 -Component ServerWideOffline -State Active -Requester Maintenance
5051
```
5152

52-
This command is used to prepare the server for maintenance, such as installing a security update or cumulative update. This command changes the state of all server components to inactive.
53+
This example prepares the server for maintenance, such as installing a Security Update or Cumulative Update.
5354

54-
After the maintenance is over, the state must be changed to active using following command:
55+
The first command changes the state of all server components to Inactive.
5556

56-
```powershell
57-
Set-ServerComponentState Exch5 -Component ServerWideOffline -State Active -Requester Maintenance
58-
```
57+
The second command changes the state to Active after the maintenance is over (required).
5958

60-
> [!NOTE]
61-
> By design behavior, Microsoft Exchange IMAP4 & Microsoft Exchange POP3 services will stop if the related components `ImapProxy` and `PopProxy` are in inactive state. The services will be started after the state of `ImapProxy` and `PopProxy` is changed to active.
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 start after the `ImapProxy` and `PopProxy` components are changed to the Active state.
6260

6361
## PARAMETERS
6462

0 commit comments

Comments
 (0)