You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/New-Mailbox.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -809,6 +809,8 @@ This example assumes that you've already created a mail-enabled security group n
809
809
### -Name
810
810
The Name parameter specifies the unique name of the mailbox. The maximum length is 64 characters. If the value contains spaces, enclose the value in quotation marks (").
811
811
812
+
In the cloud-based service, many special characters aren't allowed in the Name value (for example, ö, ü, or ä). For more information, see [Error when you try to create a username that contains a special character in Microsoft 365](https://learn.microsoft.com/office/troubleshoot/office-suite-issues/username-contains-special-character).
The Name parameter specifies the unique name of the mailbox. The maximum length is 64 characters. If the value contains spaces, enclose the value in quotation marks (").
3982
3982
3983
+
In the cloud-based service, many special characters aren't allowed in the Name value (for example, ö, ü, or ä). For more information, see [Error when you try to create a username that contains a special character in Microsoft 365](https://learn.microsoft.com/office/troubleshoot/office-suite-issues/username-contains-special-character).
Copy file name to clipboardExpand all lines: repo_docs/UPDATE_CMDLETS.md
+21-48Lines changed: 21 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,13 @@ The steps are the same as [Create new cmdlet topics](NEW_CMDLETS.md#step-1-insta
29
29
You probably know how to do this already, but the available workloads and connection methods are also described in [Create new cmdlet topics](NEW_CMDLETS.md#step-2-connect-to-the-powershell-environment-that-has-the-cmdlet).
30
30
31
31
> [!NOTE]
32
-
> In v3.0.0 or later of the EXO V3 module, you need to connect to Exchange Online in remote PowerShell mode using the _UseRPSSession_ switch in the **Connect-ExchangeOnline** command. If you omit the _UseRPSSession_ switch and connect in REST API mode, the **Type** value of most parameters will be the incorrect and unhelpful `Object` or `Object[]` values. For more information about the EXO V3 module, see [Updates for version 3.0.0 (the EXO V3 module)](/powershell/exchange/exchange-online-powershell-v2#updates-for-version-300-the-exo-v3-module).
32
+
> Remote PowerShell connections are deprecated in Exchange Online PowerShell and Security & Compliance PowerShell in favor of REST API connections. For more information, see the following articles:
33
+
>
34
+
> -[REST API connections in the EXO V3 module](https://learn.microsoft.com/powershell/exchange/exchange-online-powershell-v2#rest-api-connections-in-the-exo-v3-module).
35
+
> -[Deprecation of Remote PowerShell in Exchange Online](https://techcommunity.microsoft.com/t5/exchange-team-blog/deprecation-of-remote-powershell-in-exchange-online-re-enabling/ba-p/3779692).
36
+
> -[Deprecation of Remote PowerShell (RPS) Protocol in Security & Compliance PowerShell](https://techcommunity.microsoft.com/t5/exchange-team-blog/deprecation-of-remote-powershell-rps-protocol-in-security-and/ba-p/3815432).
37
+
>
38
+
> REST API connections in the Exchange Online PowerShell V3 module incorrectly identify many parameter **Type** values as `Object` or `Object[]`. The true parameter type values are visible in product code.
33
39
34
40
### Step 3: Load platyPS in the PowerShell environment
35
41
@@ -39,53 +45,41 @@ After you've connected in PowerShell to the server or service (either in a regul
39
45
Import-Module platyPS
40
46
```
41
47
42
-
### Step 4: Store your PSSession in a variable
43
-
44
-
This step is the same as in [Create new cmdlet topics](NEW_CMDLETS.md#step-5-store-your-pssession-in-a-variable).
45
-
46
-
To recap: this step is required in Exchange and other products that use remote PowerShell.
47
-
48
-
> [!NOTE]
49
-
> As described earlier, you need to connect to Exchange Online in remote PowerShell mode using the _UseRPSSession_ switch in the **Connect-ExchangeOnline** command. Although the [Get-ConnectionInformation](/powershell/module/exchange/get-connectioninformation) cmdlet is a reasonable replacement for Get-PSSession in REST API mode, the output doesn't work with the _Session_ parameter in **New-MarkdownHelp**. For more information about the EXO V3 module, see [Updates for version 3.0.0 (the EXO V3 module)](/powershell/exchange/exchange-online-powershell-v2#updates-for-version-300-the-exo-v3-module).
50
-
51
-
If you're using Microsoft Teams or another product that doesn't use remote PowerShell, you can skip this step.
52
-
53
-
### Step 5: Use New-MarkdownHelp to dump the latest version of the cmdlet to a file
48
+
### Step 4: Use New-MarkdownHelp to dump the latest version of the cmdlet to a file
54
49
55
50
These instructions are the same (up to a point) as in [Create new cmdlet topics](NEW_CMDLETS.md):
This example create a topic file for the updated cmdlet named **Get-CoolFeature** in the Exchange Online PowerShell session where the session variable is `$Session`in the folder "C:\My Docs\ExO".
66
+
This example create a topic file for the updated cmdlet named **Get-CoolFeature** in the Exchange Online PowerShell session in the folder "C:\My Docs\ExO".
This example creates topic files for the updated cmdlets **Get-CoolFeature**, **New-CoolFeature**, **Remove-CoolFeature**, and **Set-CoolFeature** from the Exchange Online session where the session variable is `$Session`in the folder C:\My Docs\ExO.
72
+
This example creates topic files for the updated cmdlets **Get-CoolFeature**, **New-CoolFeature**, **Remove-CoolFeature**, and **Set-CoolFeature** from the Exchange Online session in the folder C:\My Docs\ExO.
77
73
78
74
The first command stores the cmdlet names in a variable. The second command uses that variable to identify the cmdlets and write the output files.
The resulting topics are plain text UTF-8 files that are formatted using [markdown](https://guides.github.com/features/mastering-markdown/). Office writers use [Visual Studio Code](https://code.visualstudio.com/) to edit topic files, but you can use Notepad or your favorite text editor.
91
85
@@ -112,13 +106,13 @@ The resulting topics are plain text UTF-8 files that are formatted using [markdo
112
106
113
107
Most of the attributes and values are generated automatically by platyPS. The ones that require manual intervention are:
114
108
109
+
- **Type**: In any environment, the values `Object` or `Object[]` are wrong. As previously described, REST API connections in the Exchange Online PowerShell V3 module incorrectly identify many parameter **Type** values as `Object` or `Object[]`. Other values like `String`, `Boolean`, and `DateTime` are detected correctly. The true parameter type values are visible in product code.
110
+
115
111
- **Applicable**: You need to add this attribute and value yourself. Notice the capital 'A'. See other topics for available values (same available values as the **applicable** attribute at the top of the topic). Don't invent new values here. The value **must** come from the list of predefined values.
116
112
117
113
- **Default value** and **Accept wildcard characters**: These attributes are present, but the values are never truthfully populated by platyPS **or any other PowerShell utility** (they're always None and False, respectively). You can correct the values if you think it's important. Otherwise, leave them as is.
118
114
119
-
### Step 7: Copy your changes into the existing topic on GitHub
120
-
121
-
At this point, the steps are basically identical to [Short URL: aka.ms/office-powershell](../README.md):
115
+
### Step 6: Copy your changes into the existing topic on GitHub
122
116
123
117
1. Go to the cmdlet topics location in the appropriate GiHub repository:
124
118
@@ -129,35 +123,14 @@ At this point, the steps are basically identical to [Short URL: aka.ms/office-po
3. Copy/paste your updates (and only your updates) from your new, local copy of the topic into the existing topic (click the **Preview** tab to see what they'll look like).
135
129
136
130
> [!IMPORTANT]
137
131
> The layout of headings and subheadings must follow a very specific schema that is required for PowerShell Get-Help. Any deviation will throw errors in the Pull Request. The schema can be found here: <https://github.com/PowerShell/platyPS/blob/master/platyPS.schema.md>.
138
132
139
-
4. After you're done modifying files, go to the **Propose file change** section at the bottom of the page:
140
-
141
-
- A brief title is required. By default, the title is the name of the file, but you can change it.
142
-
- Optionally, you can enter more details in the **Add an optional extended description** box.
143
-
144
-
When you're ready, click the green **Propose file change** button.
6. On the **Open a pull request** page that appears, click the green **Create pull request** button.
153
-
154
-

155
-
156
-
> [!NOTE]
157
-
>
158
-
> Your permissions in the repo determine what you see. People with no special privileges will see the **Propose file change** section and subsequent confirmation pages as described. People with permissions to create and approve their own pull requests will see a similar **Commit changes** section with extra options for creating a new branch and fewer confirmation pages.
159
-
>
160
-
> The point is: click any green buttons that are presented to you until there are no more.
133
+
4. At this point, the steps are identical to [Short URL: aka.ms/office-powershell](../README.md) (You're starting at Step 4).
161
134
162
135
## Remove existing parameters from existing topics
0 commit comments