Skip to content

Commit e28f7c4

Browse files
authored
Merge branch 'main' into v-smandalika-7875677
2 parents addeebc + d81c17a commit e28f7c4

File tree

4,610 files changed

+105332
-293477
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,610 files changed

+105332
-293477
lines changed

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ _site/
44
.optemp/
55
_themes*/
66
.vs/
7+
common/
8+
.vscode/
9+
*.ini
10+
.DS_Store
11+
*.db
12+
\.idea/
713
.local/
814

915
.openpublishing.buildcore.ps1
1016
**/node_modules
11-
12-
\.idea/

.openpublishing.publish.config.json

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@
4545
"build_entry_point": "docs",
4646
"template_folder": "_themes",
4747
"version": 0,
48-
"customized_tasks": {
49-
"docset_prebuild": [
50-
"_dependentPackages/MAML2Yaml/tools/Run.ps1"
51-
]
52-
},
5348
"monikerPath": [
5449
"mapping/monikerMapping.json"
5550
]
@@ -71,15 +66,7 @@
7166
},
7267
"build_entry_point": "docs",
7368
"template_folder": "_themes",
74-
"version": 0,
75-
"customized_tasks": {
76-
"docset_prebuild": [
77-
"_dependentPackages/MAML2Yaml/tools/Run.ps1"
78-
]
79-
},
80-
"monikerPath": [
81-
"mapping/monikerMapping.json"
82-
]
69+
"version": 0
8370
},
8471
{
8572
"docset_name": "skype-ps",
@@ -125,15 +112,7 @@
125112
},
126113
"build_entry_point": "docs",
127114
"template_folder": "_themes",
128-
"version": 0,
129-
"customized_tasks": {
130-
"docset_prebuild": [
131-
"_dependentPackages/MAML2Yaml/tools/Run.ps1"
132-
]
133-
},
134-
"monikerPath": [
135-
"mapping/monikerMapping.json"
136-
]
115+
"version": 0
137116
},
138117
{
139118
"docset_name": "teams-ps",
@@ -180,11 +159,6 @@
180159
"build_entry_point": "docs",
181160
"template_folder": "_themes",
182161
"version": 0,
183-
"customized_tasks": {
184-
"docset_prebuild": [
185-
"_dependentPackages/MAML2Yaml/tools/Run.ps1"
186-
]
187-
},
188162
"monikerPath": [
189163
"mapping/monikerMapping.json"
190164
]
@@ -220,7 +194,7 @@
220194
"notification_subscribers": [],
221195
"sync_notification_subscribers": [],
222196
"branches_to_filter": [],
223-
"git_repository_branch_open_to_public_contributors": "master",
197+
"git_repository_branch_open_to_public_contributors": "main",
224198
"skip_source_output_uploading": false,
225199
"need_preview_pull_request": true,
226200
"enable_incremental_build": false,
@@ -229,7 +203,7 @@
229203
{
230204
"path_to_root": "_themes",
231205
"url": "https://github.com/Microsoft/templates.docs.msft",
232-
"branch": "master",
206+
"branch": "main",
233207
"branch_mapping": {}
234208
}
235209
],

.openpublishing.redirection.json

Lines changed: 1617 additions & 1307 deletions
Large diffs are not rendered by default.

ContentOwners.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @tiburd @yogkumgit

README.md

Lines changed: 20 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,46 @@
1-
**Short URL: aka.ms/office-powershell**
2-
31
# Overview
42

5-
This repository holds reference content of Office PowerShell cmdlets for help purpose. The expert knowledge around Office PowerShell is distributed among customers, MVPs, partners, product teams, support, and other community members. Consumers have various preferences when consuming knowledge such as a website, PowerShell Get-Help, Windows app, iOS app, Android app, and others. The following diagram illustrates the point.
6-
7-
![Contribution and Consumption model for Office PowerShell reference content](images/contrib-consumption-model.png)
8-
9-
## Learn How To Contribute
10-
11-
Anyone who is interested can contribute to the Microsoft Office PowerShell reference topics. Your contributions will go directly into the Microsoft Office products and show up in Get-Help for the given Office cmdlet.
12-
13-
> [!NOTE]
14-
> If you're interested in contributing to the **PnP PowerShell** cmdlets, their documentation is automatically generated from code, and you should be submitting your change towards the original code at <https://github.com/SharePoint/PnP-powershell>. See, for example, how the attributes are used in code for the [Get-PnPList](https://github.com/SharePoint/PnP-PowerShell/blob/master/Commands/Lists/GetList.cs) cmdlet.
15-
16-
## Quick Start
17-
18-
Contributors who only make infrequent or small updates can edit the file directly on GitHub.com without having to install any additional software. This article shows you how.
3+
## Learn how to contribute
194

20-
This brief video also covers how to contribute:
21-
22-
[![Image of Quick Start video](images/edit_video_capture.jpg)](https://support.office.com/article/edit-powershell-cmdlet-in-github-dcd20227-3764-48ce-ad6e-763af8b48daf)
5+
Anyone who is interested can contribute to the topics. When you contribute, your work will go directly into the content set after being merged. It will then be published to [Microsoft Learn](https://learn.microsoft.com/) and you will be listed as a contributor at: <https://github.com/MicrosoftDocs/office-docs-powershell/graphs/contributors>.
236

247
### Quickly update an article using GitHub.com
258

9+
Contributors who only make infrequent or small updates can edit the file directly on GitHub.com without having to install any additional software. This article shows you how. [This two-minute video](https://www.microsoft.com/videoplayer/embed/RE1XQTG) also covers how to contribute.
10+
2611
1. Make sure you're signed in to GitHub.com with your GitHub account.
27-
2. Go to the page you want to edit on docs.microsoft.com.
12+
2. Browse to the page you want to edit on Microsoft Learn.
2813
3. On the right-hand side of the page, click **Edit** (pencil icon).
2914

30-
![Edit button on docs.microsoft.com](images/quick-update-edit.png)
15+
![Edit button on Microsoft Learn.](https://learn.microsoft.com/compliance/media/quick-update-edit.png)
3116

3217
4. The corresponding topic file on GitHub opens, where you need to click the **Edit this file** pencil icon.
3318

34-
![Edit button on github.com](images/quick-update-github.png)
19+
![Edit button on github.com.](https://learn.microsoft.com/compliance/media/quick-update-github.png)
3520

36-
5. The topic opens in a line-numbered editing page where you can make changes to the file.
21+
5. The topic opens in a line-numbered editing page where you can make changes to the file. Files in GitHub are written and edited using Markdown language. For help on using Markdown, see [Mastering Markdown](https://guides.github.com/features/mastering-markdown/). Select the **Preview changes** tab to view your changes as you go.
3722

38-
In this example, we'll add a link to the **Related Links** section of a topic. To add the link, scroll down to the **Related Links** section and add the link in the correct format.
39-
40-
**Notes**:
41-
42-
- Files in GitHub are written and edited using Markdown language. For help on using Markdown, see [Mastering Markdown](https://guides.github.com/features/mastering-markdown/).
43-
44-
- In cmdlet reference topics, the layout of headings and subheadings must follow a required schema for PowerShell Get-Help. Any deviation will throw errors in the Pull Request. For more information, see <https://github.com/PowerShell/platyPS/blob/master/platyPS.schema.md>.
45-
46-
- Since you are likely not a maintainer of the Git repository, GitHub will automatically 'Fork' the project into your personal GitHub account. A fork is a copy of the repository in your git account. By forking, you can freely make edits without affecting the original repository. You can always find it again by looking at your GitHub Repositories in your GitHub Profile (drop-down from your name in the top right).
47-
48-
![Image of Automatic Fork message on Github](images/auto_fork.png)
49-
50-
6. You can click the **Preview changes** tab to see what the changes will look like.
51-
52-
7. When you're finished making changes, go to the **Propose file change** section at the bottom of the page:
23+
6. When you're finished making changes, go to the **Propose file change** section at the bottom of the page:
5324

5425
- A brief title is required. By default, the title is the name of the file, but you can change it.
5526
- Optionally, you can enter more details in the **Add an optional extended description** box.
5627

5728
When you're ready, click the green **Propose file change** button.
5829

59-
![Propose file change section](images/propose-file-change.png)
30+
![Propose file change section.](https://learn.microsoft.com/compliance/media/propose-file-change.png)
6031

61-
8. On the **Comparing changes** page that appears, click the green **Create pull request** button.
32+
7. On the **Comparing changes** page that appears, click the green **Create pull request** button.
6233

63-
![Comparing changes page](images/comparing-changes-page.png)
34+
![Comparing changes page.](https://learn.microsoft.com/compliance/media/comparing-changes-page.png)
6435

65-
9. On the **Open a pull request** page that appears, click the green **Create pull request** button.
36+
8. On the **Open a pull request** page that appears, click the green **Create pull request** button.
6637

67-
![Open a pull request page](images/open-a-pull-request-page.png)
38+
![Open a pull request page.](https://learn.microsoft.com/compliance/media/open-a-pull-request-page.png)
6839

6940
> [!NOTE]
7041
> Your permissions in the repo determine what you see in the last several steps. 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.
7142
72-
Looking for more in-depth content? Check out the following topics:
73-
74-
- [Frequently Asked Questions (FAQ)](repo_docs/FAQ.md)
75-
- [Using more advanced tools with the PowerShell GitHub repo](repo_docs/ADVANCED.md)
76-
- [Creating content for brand new cmdlets](repo_docs/NEW_CMDLETS.md)
43+
The writer identified in the metadata of the topic will be notified and will eventually review and approve your changes so the topic will be updated on Microsoft Learn. If there are questions or issues with the updates, the writer will contact you.
7744

7845
## Microsoft Open Source Code of Conduct
7946

@@ -83,15 +50,17 @@ For more information see the [Code of Conduct FAQ](https://opensource.microsoft.
8350

8451
### Contributing
8552

86-
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit <https://cla.microsoft.com>.
53+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit <https://cla.microsoft.com>.
8754

8855
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
8956

90-
## Legal Notices
57+
### Legal Notices
9158

9259
Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/legalcode), see the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https://opensource.org/licenses/MIT), see the [LICENSE-CODE](LICENSE-CODE) file.
9360

94-
Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at <https://go.microsoft.com/fwlink/p/?LinkID=254653>.
61+
Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries.
62+
63+
The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at <https://go.microsoft.com/fwlink/?LinkID=254653>.
9564

9665
Privacy information can be found at <https://privacy.microsoft.com/>
9766

SECURITY.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK -->
2+
3+
## Security
4+
5+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6+
7+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
8+
9+
## Reporting Security Issues
10+
11+
**Please do not report security vulnerabilities through public GitHub issues.**
12+
13+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
14+
15+
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
16+
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
18+
19+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20+
21+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
* Full paths of source file(s) related to the manifestation of the issue
23+
* The location of the affected source code (tag/branch/commit or direct URL)
24+
* Any special configuration required to reproduce the issue
25+
* Step-by-step instructions to reproduce the issue
26+
* Proof-of-concept or exploit code (if possible)
27+
* Impact of the issue, including how an attacker might exploit the issue
28+
29+
This information will help us triage your report more quickly.
30+
31+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
32+
33+
## Preferred Languages
34+
35+
We prefer all communications to be in English.
36+
37+
## Policy
38+
39+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
40+
41+
<!-- END MICROSOFT SECURITY.MD BLOCK -->

cabgen-bootstrap.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
trigger:
2+
- live
3+
4+
pr: none # Disable pull request triggers.
5+
6+
resources:
7+
repositories:
8+
- repository: templates
9+
type: git
10+
name: Content CI/ReferenceAutomation
11+
ref: refs/heads/master
12+
13+
extends:
14+
template: PowerShell/cabgen.yml@templates

exchange/docfx.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,17 @@
7575
"overwrite": [],
7676
"externalReference": [],
7777
"globalMetadata": {
78+
"uhfHeaderId": "MSDocsHeader-M365-IT",
7879
"author": "chrisda",
7980
"ms.author": "chrisda",
8081
"manager": "serdars",
8182
"ms.date": "09/25/2017",
8283
"ms.topic": "reference",
8384
"ms.service": "exchange-powershell",
85+
"products": [
86+
"https://authoring-docs-microsoft.poolparty.biz/devrel/0b654e73-5728-4af3-8c2e-17bfbf4c9f23",
87+
"https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3"
88+
],
8489
"ms.devlang": "powershell",
8590
"feedback_system": "GitHub",
8691
"feedback_github_repo": "MicrosoftDocs/office-docs-powershell",

0 commit comments

Comments
 (0)