Skip to content

Commit 7f4bdda

Browse files
authored
Merge pull request MicrosoftDocs#6991 from MicrosoftDocs/chrisda
Remote PowerShell language changes
2 parents 8d37f7c + 63da18d commit 7f4bdda

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

repo_docs/NEW_CMDLETS.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Either way, take note of your module name. You'll need it in the next steps.
107107

108108
### Step 5: Verify your PSSession variable name
109109

110-
**Note**: This step is required in Exchange, Skype for Business Online and other products that use remote PowerShell in their connection instructions (one or more **xxx-xxxSession** commands are present). **If you're using SharePoint, SharePoint Online or another product that doesn't use remote PowerShell, you can skip this step**.
110+
**Note**: This step is required in Exchange, Skype for Business Online and other products that use remote PowerShell. **If you're using SharePoint, SharePoint Online or another product that doesn't use remote PowerShell, you can skip this step**.
111111

112112
Check the details of your connection instructions, but your session information is stored in a variable. For example, in the Exchange connection instructions, the variable is `$Session`. You'll use this variable name in later steps.
113113

@@ -178,7 +178,7 @@ You have two choices:
178178

179179
- \<ModuleName\> is the value you found in [Step 4](#step-4-find-your-module-name) (for example, `tmp_byivwzpq.e1k` or `Microsoft.Online.SharePoint.PowerShell`).
180180

181-
- \<PSSessionVariableName\> is the remote PowerShell session variable from [Step 5](#step-5-verify-your-your-pssession-variable-name) (for example, `$Session`) _and is required only if the connection instructions used remote PowerShell (one or more **xxx-xxxSession** commands)_.
181+
- \<PSSessionVariableName\> is the remote PowerShell session variable from [Step 5](#step-5-verify-your-your-pssession-variable-name) (for example, `$Session`) _and is required only if the connection uses remote PowerShell_.
182182

183183
Failure to use the _Session_ parameter in remote PowerShell environments leads to weird results: multiple syntax blocks/parameter sets aren't recognized and are collapsed into one big block, the Type value is Object for all parameters, the Required value is False for all parameters, etc.
184184

@@ -338,7 +338,10 @@ When you're done editing the topics, upload them to GitHub. Note that you need t
338338
![Open a pull request page](../images/open-a-pull-request-page.png)
339339

340340
> [!NOTE]
341-
> 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.<br/><br/>The point is: click any green buttons that are presented to you until there are no more.
341+
>
342+
> 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.
343+
>
344+
> The point is: click any green buttons that are presented to you until there are no more.
342345
343346
### Step 9: Add the new cmdlets to the TOC file
344347

@@ -386,7 +389,10 @@ After you're done editing the TOC files:
386389
![Open a pull request page](../images/open-a-pull-request-page.png)
387390

388391
> [!NOTE]
389-
> 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.<br/><br/>The point is: click any green buttons that are presented to you until there are no more.
392+
>
393+
> 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.
394+
>
395+
> The point is: click any green buttons that are presented to you until there are no more.
390396
391397
## Appendix
392398

repo_docs/UPDATE_CMDLETS.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Import-Module platyPS
4040

4141
This step is the same as in [Create new cmdlet topics](NEW_CMDLETS.md#step-5-verify-your-your-pssession-variable-name).
4242

43-
To recap: this step is required in Exchange, Skype for Business Online and other products that use remote PowerShell in their connection instructions (one or more **xxx-xxxSession** commands are present), and the value is most likely `$Session`.
43+
To recap: this step is required in Exchange, Skype for Business Online and other products that use remote PowerShell, and the value is most likely `$Session`.
4444

45-
If you're using SharePoint, SharePoint Online or another product that doesn't use remote PowerShell to connect, you can skip this step.
45+
If you're using SharePoint, SharePoint Online or another product that doesn't use remote PowerShell, you can skip this step.
4646

4747
### Step 5: Use New-MarkdownHelp to dump the latest version of the cmdlet to a file
4848

@@ -159,7 +159,10 @@ At this point, the steps are basically identical to [Short URL: aka.ms/office-po
159159
![Open a pull request page](../images/open-a-pull-request-page.png)
160160
161161
> [!NOTE]
162-
> 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.<br/><br/>The point is: click any green buttons that are presented to you until there are no more.
162+
>
163+
> 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.
164+
>
165+
> The point is: click any green buttons that are presented to you until there are no more.
163166
164167
## Remove existing parameters from existing topics
165168

0 commit comments

Comments
 (0)