Skip to content

Commit f84b0fa

Browse files
authored
Move redir files and cleanup markdown files in root (#11362)
* Move redir files and cleanup markdown files in root * Update source_path in redirection files * Update source_path in redirection files
1 parent 99d3514 commit f84b0fa

17 files changed

+1481
-1486
lines changed

.openpublishing.publish.config.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@
7272
"need_preview_pull_request": true,
7373
"notification_subscribers": [],
7474
"redirection_files": [
75-
".openpublishing.redirection.json",
76-
".openpublishing.redirection.51.json",
77-
".openpublishing.redirection.72.json",
78-
".openpublishing.redirection.dsc.json",
79-
".openpublishing.redirection.gallery.json",
80-
".openpublishing.redirection.psget.json",
81-
".openpublishing.redirection.virtual.json",
82-
".openpublishing.redirection.wmf.json"
75+
"redir/.openpublishing.redirection.json",
76+
"redir/.openpublishing.redirection.51.json",
77+
"redir/.openpublishing.redirection.72.json",
78+
"redir/.openpublishing.redirection.dsc.json",
79+
"redir/.openpublishing.redirection.gallery.json",
80+
"redir/.openpublishing.redirection.psget.json",
81+
"redir/.openpublishing.redirection.virtual.json",
82+
"redir/.openpublishing.redirection.wmf.json"
8383
],
8484
"skip_source_output_uploading": false,
8585
"sync_notification_subscribers": [],

LICENSE

-395
This file was deleted.

LICENSE-CODE

-17
This file was deleted.

LICENSE-CODE.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
Copyright (c) Microsoft Corporation
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy of
5+
this software and associated documentation files (the "Software"), to deal in
6+
the Software without restriction, including without limitation the rights to
7+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8+
of the Software, and to permit persons to whom the Software is furnished to do
9+
so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in all
12+
copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20+
SOFTWARE.

LICENSE.md

+352
Large diffs are not rendered by default.

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
ms.date: 02/13/2024
2+
ms.date: 08/28/2024
33
---
44
# PowerShell Documentation
55

@@ -33,6 +33,7 @@ The following list describes the main folders in this repository.
3333
- `.vscode` - contains configuration settings and recommended extensions for Visual Studio Code (VS
3434
Code)
3535
- `assets` - contains downloadable files linked in the documentation
36+
- `redir` - contain redirection mapping files
3637
- `reference` - contains the documentation published to
3738
[learn.microsoft.com][01]. This includes both
3839
reference and conceptual content.

SECURITY.md

+40-15
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,65 @@
22

33
## Security
44

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/).
5+
Microsoft takes the security of our software products and services seriously, which includes all
6+
source code repositories managed through our GitHub organizations, which include [Microsoft][10],
7+
[Azure][08], [DotNet][09], [AspNet][07], [Xamarin][11], and [our GitHub organizations][12].
68

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.
9+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets
10+
[Microsoft's definition of a security vulnerability][04], please report it to us as described below.
811

912
## Reporting Security Issues
1013

1114
**Please do not report security vulnerabilities through public GitHub issues.**
1215

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).
16+
Instead, please report them to the Microsoft Security Response Center (MSRC) at
17+
[https://msrc.microsoft.com/create-report][02].
1418

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).
19+
If you prefer to submit without logging in, send email to [[email protected]][13]. If possible,
20+
encrypt your message with our PGP key; please download it from the
21+
[Microsoft Security Response Center PGP Key page][06].
1622

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).
23+
You should receive a response within 24 hours. If for some reason you do not, please follow up via
24+
email to ensure we received your original message. Additional information can be found at
25+
[microsoft.com/msrc][05].
1826

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:
27+
Please include the requested information listed below (as much as you can provide) to help us better
28+
understand the nature and scope of the possible issue:
2029

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
30+
- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
31+
- Full paths of source file(s) related to the manifestation of the issue
32+
- The location of the affected source code (tag/branch/commit or direct URL)
33+
- Any special configuration required to reproduce the issue
34+
- Step-by-step instructions to reproduce the issue
35+
- Proof-of-concept or exploit code (if possible)
36+
- Impact of the issue, including how an attacker might exploit the issue
2837

2938
This information will help us triage your report more quickly.
3039

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.
40+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty
41+
award. Please visit our [Microsoft Bug Bounty Program][01] page for more details about our active
42+
programs.
3243

3344
## Preferred Languages
3445

3546
We prefer all communications to be in English.
3647

3748
## Policy
3849

39-
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
50+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure][03].
4051

4152
<!-- END MICROSOFT SECURITY.MD BLOCK -->
53+
<!-- link references -->
54+
[01]: https://aka.ms/opensource/security/bounty
55+
[02]: https://aka.ms/opensource/security/create-report
56+
[03]: https://aka.ms/opensource/security/cvd
57+
[04]: https://aka.ms/opensource/security/definition
58+
[05]: https://aka.ms/opensource/security/msrc
59+
[06]: https://aka.ms/opensource/security/pgpkey
60+
[07]: https://github.com/aspnet
61+
[08]: https://github.com/Azure
62+
[09]: https://github.com/dotnet
63+
[10]: https://github.com/microsoft
64+
[11]: https://github.com/xamarin
65+
[12]: https://opensource.microsoft.com/
66+
[13]: mailto:[email protected]

ThirdPartyNotices

-16
This file was deleted.

ThirdPartyNotices.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Legal Notices
2+
3+
Microsoft and any contributors grant you a license to the Microsoft documentation and other content
4+
in this repository under the [Creative Commons Attribution 4.0 International Public License][01],
5+
see the [LICENSE][05] file, and grant you a license to any code in the repository under the
6+
[MIT License][03], see the [LICENSE-CODE][06] file.
7+
8+
Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the
9+
documentation may be either trademarks or registered trademarks of Microsoft in the United States
10+
and/or other countries. The licenses for this project do not grant you rights to use any Microsoft
11+
names, logos, or trademarks. Microsoft's general trademark guidelines can be found at
12+
[https://go.microsoft.com/fwlink/?LinkID=254653][02].
13+
14+
Privacy information can be found at [https://privacy.microsoft.com][04].
15+
16+
Microsoft and any contributors reserve all others rights, whether under their respective copyrights,
17+
patents, or trademarks, whether by implication, estoppel or otherwise.
18+
19+
<!-- link references -->
20+
[01]: https://creativecommons.org/licenses/by/4.0/legalcode
21+
[02]: https://go.microsoft.com/fwlink/?LinkID=254653
22+
[03]: https://opensource.org/licenses/MIT
23+
[04]: https://privacy.microsoft.com
24+
[05]: LICENSE
25+
[06]: LICENSE-CODE

.openpublishing.redirection.51.json redir/.openpublishing.redirection.51.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
{
44
"redirect_document_id": true,
55
"redirect_url": "/powershell/module/microsoft.powershell.core/get-verb?view=powershell-5.1",
6-
"source_path": "reference/5.1/microsoft.powershell.core/functions/get-verb.md"
6+
"source_path": "../reference/5.1/microsoft.powershell.core/functions/get-verb.md"
77
},
88
{
99
"redirect_document_id": false,
1010
"redirect_url": "/powershell/scripting/learn/remoting/powershell-remoting-faq",
11-
"source_path": "reference/5.1/Microsoft.PowerShell.Core/About/about_Remote_FAQ.md"
11+
"source_path": "../reference/5.1/Microsoft.PowerShell.Core/About/about_Remote_FAQ.md"
1212
}
1313
]
1414
}

.openpublishing.redirection.72.json redir/.openpublishing.redirection.72.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
{
44
"redirect_document_id": true,
55
"redirect_url": "/powershell/module/microsoft.powershell.utility/get-verb?view=powershell-7.2",
6-
"source_path": "reference/7.2/microsoft.powershell.utility/get-verb.md"
6+
"source_path": "../reference/7.2/microsoft.powershell.utility/get-verb.md"
77
},
88
{
99
"redirect_document_id": false,
1010
"redirect_url": "/powershell/scripting/learn/remoting/powershell-remoting-faq",
11-
"source_path": "reference/7.2/Microsoft.PowerShell.Core/About/about_Remote_FAQ.md"
11+
"source_path": "../reference/7.2/Microsoft.PowerShell.Core/About/about_Remote_FAQ.md"
1212
}
1313
]
1414
}

0 commit comments

Comments
 (0)