Skip to content

Commit ffcc1c5

Browse files
authored
Merge pull request #4750 from MicrosoftDocs/staging
Fix redirects for JEA
2 parents 683be3f + ab75887 commit ffcc1c5

File tree

4 files changed

+155
-67
lines changed

4 files changed

+155
-67
lines changed

.openpublishing.publish.config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,21 @@
4747
"template_folder": "_themes",
4848
"version": 0
4949
},
50+
{
51+
"docset_name": "PowerShell_PowerShell-docs_jea",
52+
"build_source_folder": "jea",
53+
"build_output_subfolder": "jea",
54+
"locale": "en-us",
55+
"open_to_public_contributors": true,
56+
"type_mapping": {
57+
"Conceptual": "Content",
58+
"ManagedReference": "Content",
59+
"RestApi": "Content"
60+
},
61+
"build_entry_point": "docs",
62+
"template_folder": "_themes",
63+
"version": 0
64+
},
5065
{
5166
"docset_name": "PowerShell_PowerShell-docs_reference",
5267
"build_source_folder": "reference",

.openpublishing.redirection.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -913,37 +913,37 @@
913913
{
914914
"source_path": "jea/audit-and-report.md",
915915
"redirect_url": "/powershell/scripting/learn/remoting/jea/audit-and-report",
916-
"redirect_document_id": "TRUE"
916+
"redirect_document_id": true
917917
},
918918
{
919919
"source_path": "jea/overview.md",
920920
"redirect_url": "/powershell/scripting/learn/remoting/jea/overview",
921-
"redirect_document_id": "FALSE"
921+
"redirect_document_id": false
922922
},
923923
{
924924
"source_path": "jea/prerequisites.md",
925925
"redirect_url": "/powershell/scripting/learn/remoting/jea/prerequisites",
926-
"redirect_document_id": "TRUE"
926+
"redirect_document_id": true
927927
},
928928
{
929929
"source_path": "jea/register-jea.md",
930930
"redirect_url": "/powershell/scripting/learn/remoting/jea/register-jea",
931-
"redirect_document_id": "TRUE"
931+
"redirect_document_id": true
932932
},
933933
{
934934
"source_path": "jea/role-capabilities.md",
935935
"redirect_url": "/powershell/scripting/learn/remoting/jea/role-capabilities",
936-
"redirect_document_id": "TRUE"
936+
"redirect_document_id": true
937937
},
938938
{
939939
"source_path": "jea/security-considerations.md",
940940
"redirect_url": "/powershell/scripting/learn/remoting/jea/security-considerations",
941-
"redirect_document_id": "TRUE"
941+
"redirect_document_id": true
942942
},
943943
{
944944
"source_path": "jea/session-configurations.md",
945945
"redirect_url": "/powershell/scripting/learn/remoting/jea/session-configurations",
946-
"redirect_document_id": "TRUE"
946+
"redirect_document_id": true
947947
},
948948
{
949949
"source_path": "jea/using-jea.md",
@@ -15826,4 +15826,4 @@
1582615826
"redirect_document_id": "FALSE"
1582715827
}
1582815828
]
15829-
}
15829+
}

jea/docfx.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
3+
"build": {
4+
5+
"content": [
6+
7+
{ "files": ["**/**.md", "**/**.yml"], "exclude": ["**/obj/**"] }
8+
9+
],
10+
11+
"globalMetadata": {
12+
13+
"toc_preview": true,
14+
15+
"breadcrumb_path": "bread/toc.yml",
16+
17+
"uhfHeaderId": "MSDocsHeader-Powershell",
18+
19+
"ROBOTS": "INDEX, FOLLOW",
20+
21+
"ms.devlang": "powershell",
22+
23+
"ms.tgt_pltfr": "windows, macos, linux",
24+
25+
"feedback_system": "GitHub",
26+
27+
"feedback_github_repo": "MicrosoftDocs/PowerShell-Docs",
28+
29+
"feedback_product_url": "https://github.com/powershell/jea/issues/new"
30+
31+
},
32+
33+
"fileMetadata": {
34+
35+
"ms.prod": { "**/**.md": "powershell" },
36+
37+
"ms.technology": { "**/**.md": "powershell-jea" },
38+
39+
"ms.topic": { "**/**.md": "conceptual" },
40+
41+
"manager": { "**/**.md": "carmonm" },
42+
43+
"author": { "**/**.md": "rpsqrd" },
44+
45+
"ms.author": { "**/**.md": "ryanpu" }
46+
47+
},
48+
49+
"resource": [
50+
51+
{ "files": ["**/images/**"], "exclude": ["**/obj/**"] }
52+
53+
],
54+
55+
"template": "op.html",
56+
57+
"dest": "jea",
58+
59+
"markdownEngineName": "markdig"
60+
61+
}
62+
63+
}

reference/docs-conceptual/toc.yml

Lines changed: 69 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,66 @@
200200
items:
201201
- name: Sample scripts for administration
202202
href: samples/sample-scripts-for-administration.yml
203-
- name: Changing computer state
204-
href: samples/changing-computer-state.md
205-
- name: Collecting information about computers
206-
href: samples/collecting-information-about-computers.md
207-
- name: Creating Get-WinEvent queries with FilterHashtable
208-
href: samples/creating-get-winEvent-queries-with-filterhashtable.md
203+
- name: Working with objects
204+
items:
205+
- name: Viewing object structure - Get-Member
206+
href: samples/viewing-object-structure--get-member-.md
207+
- name: Selecting parts of object - Select-Object
208+
href: samples/selecting-parts-of-objects--select-object-.md
209+
- name: Removing objects from the pipeline - Where-Object
210+
href: samples/removing-objects-from-the-pipeline--where-object-.md
211+
- name: Sorting objects
212+
href: samples/sorting-objects.md
213+
- name: Repeating a task for multiple objects - ForEach-Object
214+
href: samples/repeating-a-task-for-multiple-objects--foreach-object-.md
215+
- name: Creating .NET and COM objects - New-Object
216+
href: samples/creating-.net-and-com-objects--new-object-.md
217+
- name: Using static classes and methods
218+
href: samples/using-static-classes-and-methods.md
219+
- name: Getting WMI objects - Get-WmiObject
220+
href: samples/getting-wmi-objects--get-wmiobject-.md
221+
- name: Managing computers
222+
items:
223+
- name: Changing computer state
224+
href: samples/changing-computer-state.md
225+
- name: Collecting information about computers
226+
href: samples/collecting-information-about-computers.md
227+
- name: Creating Get-WinEvent queries with FilterHashtable
228+
href: samples/creating-get-winEvent-queries-with-filterhashtable.md
229+
- name: Managing processes & services
230+
items:
231+
- name: Managing processes with process cmdlets
232+
href: samples/managing-processes-with-process-cmdlets.md
233+
- name: Managing services
234+
href: samples/managing-services.md
235+
- name: Managing Windows PowerShell drives
236+
href: samples/managing-windows-powershell-drives.md
237+
- name: Working with printers
238+
href: samples/working-with-printers.md
239+
- name: Performing networking tasks
240+
href: samples/performing-networking-tasks.md
241+
- name: Working with software installations
242+
href: samples/working-with-software-installations.md
243+
- name: Decode a PowerShell command from a running process
244+
href: samples/decode-powershell-command-from-a-running-process.md
245+
- name: Working with output
246+
items:
247+
- name: Redirecting data with Out-* cmdlets
248+
href: samples/redirecting-data-with-out---cmdlets.md
249+
- name: Using format commands to change output view
250+
href: samples/using-format-commands-to-change-output-view.md
251+
- name: Manage drives & files
252+
items:
253+
- name: Managing current location
254+
href: samples/managing-current-location.md
255+
- name: Working with files and folders
256+
href: samples/working-with-files-and-folders.md
257+
- name: Working with files folders and registry keys
258+
href: samples/working-with-files-folders-and-registry-keys.md
259+
- name: Working with registry entries
260+
href: samples/working-with-registry-entries.md
261+
- name: Working with registry keys
262+
href: samples/working-with-registry-keys.md
209263
- name: Creating UI elements
210264
items:
211265
- name: Creating a custom input box
@@ -216,57 +270,13 @@
216270
href: samples/multiple-selection-list-boxes.md
217271
- name: Selecting items from a list box
218272
href: samples/selecting-items-from-a-list-box.md
219-
- name: Decode a PowerShell command from a running process
220-
href: samples/decode-powershell-command-from-a-running-process.md
221-
- name: Managing current location
222-
href: samples/managing-current-location.md
223-
- name: Managing processes with process cmdlets
224-
href: samples/managing-processes-with-process-cmdlets.md
225-
- name: Managing services
226-
href: samples/managing-services.md
227-
- name: Managing Windows PowerShell drives
228-
href: samples/managing-windows-powershell-drives.md
229-
- name: Manipulating items directly
230-
href: samples/manipulating-items-directly.md
231-
- name: Performing networking tasks
232-
href: samples/performing-networking-tasks.md
233-
- name: Redirecting data with Out-* cmdlets
234-
href: samples/redirecting-data-with-out---cmdlets.md
235-
- name: Using format commands to change output view
236-
href: samples/using-format-commands-to-change-output-view.md
237-
- name: Working with files and folders
238-
href: samples/working-with-files-and-folders.md
239-
- name: Working with files folders and registry keys
240-
href: samples/working-with-files-folders-and-registry-keys.md
241-
- name: Working with objects
273+
- name: Other examples
242274
items:
243-
- name: Getting WMI objects - Get-WmiObject
244-
href: samples/getting-wmi-objects--get-wmiobject-.md
245-
- name: Creating .NET and COM objects - New-Object
246-
href: samples/creating-.net-and-com-objects--new-object-.md
247-
- name: Removing objects from the pipeline - Where-Object
248-
href: samples/removing-objects-from-the-pipeline--where-object-.md
249-
- name: Selecting parts of object - Select-Object
250-
href: samples/selecting-parts-of-objects--select-object-.md
251-
- name: Sorting objects
252-
href: samples/sorting-objects.md
253-
- name: Repeating a task for multiple objects - ForEach-Object
254-
href: samples/repeating-a-task-for-multiple-objects--foreach-object-.md
255-
- name: Using static classes and methods
256-
href: samples/using-static-classes-and-methods.md
257-
- name: Viewing object structure - Get-Member
258-
href: samples/viewing-object-structure--get-member-.md
259-
- name: Working with printers
260-
href: samples/working-with-printers.md
261-
- name: Working with registry entries
262-
href: samples/working-with-registry-entries.md
263-
- name: Working with registry keys
264-
href: samples/working-with-registry-keys.md
265-
- name: Working with software installations
266-
href: samples/working-with-software-installations.md
267-
- name: Other useful scripting objects
268-
href: samples/other-useful-scripting-objects.md
269-
- name: Appendix 1 Compatibility aliases
270-
href: samples/appendix-1---compatibility-aliases.md
271-
- name: Appendix 2 Creating a custom powershell shortcut
272-
href: samples/appendix-2---creating-a-custom-powershell-shortcut.md
275+
- name: Manipulating items directly
276+
href: samples/manipulating-items-directly.md
277+
- name: Other useful scripting objects
278+
href: samples/other-useful-scripting-objects.md
279+
- name: Appendix 1 Compatibility aliases
280+
href: samples/appendix-1---compatibility-aliases.md
281+
- name: Appendix 2 Creating a custom powershell shortcut
282+
href: samples/appendix-2---creating-a-custom-powershell-shortcut.md

0 commit comments

Comments
 (0)