@antonytm/mcp-sitecore-server 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/README.md +3 -0
  2. package/dist/bundle.js +106 -12
  3. package/dist/register.js +7 -0
  4. package/dist/register.js.map +1 -1
  5. package/dist/tools/powershell/documentation/add-basetemplate.md +137 -0
  6. package/dist/tools/powershell/documentation/add-itemacl.md +254 -0
  7. package/dist/tools/powershell/documentation/add-itemversion.md +231 -0
  8. package/dist/tools/powershell/documentation/add-placeholdersetting.md +410 -0
  9. package/dist/tools/powershell/documentation/add-rendering.md +217 -0
  10. package/dist/tools/powershell/documentation/add-rolemember.md +88 -0
  11. package/dist/tools/powershell/documentation/clear-itemacl.md +131 -0
  12. package/dist/tools/powershell/documentation/close-window.md +32 -0
  13. package/dist/tools/powershell/documentation/commands-list.md +134 -0
  14. package/dist/tools/powershell/documentation/convertfrom-clixml.md +67 -0
  15. package/dist/tools/powershell/documentation/convertfrom-itemclone.md +118 -0
  16. package/dist/tools/powershell/documentation/convertto-clixml.md +66 -0
  17. package/dist/tools/powershell/documentation/disable-user.md +89 -0
  18. package/dist/tools/powershell/documentation/enable-user.md +89 -0
  19. package/dist/tools/powershell/documentation/expand-token.md +144 -0
  20. package/dist/tools/powershell/documentation/export-item.md +165 -0
  21. package/dist/tools/powershell/documentation/export-package.md +129 -0
  22. package/dist/tools/powershell/documentation/export-role.md +150 -0
  23. package/dist/tools/powershell/documentation/export-updatepackage.md +111 -0
  24. package/dist/tools/powershell/documentation/export-user.md +147 -0
  25. package/dist/tools/powershell/documentation/find-item.md +718 -0
  26. package/dist/tools/powershell/documentation/get-archive.md +73 -0
  27. package/dist/tools/powershell/documentation/get-archiveitem.md +138 -0
  28. package/dist/tools/powershell/documentation/get-cache.md +62 -0
  29. package/dist/tools/powershell/documentation/get-database.md +96 -0
  30. package/dist/tools/powershell/documentation/get-domain.md +75 -0
  31. package/dist/tools/powershell/documentation/get-item.md +186 -0
  32. package/dist/tools/powershell/documentation/get-itemacl.md +168 -0
  33. package/dist/tools/powershell/documentation/get-itemclone.md +100 -0
  34. package/dist/tools/powershell/documentation/get-itemclonenotification.md +95 -0
  35. package/dist/tools/powershell/documentation/get-itemfield.md +182 -0
  36. package/dist/tools/powershell/documentation/get-itemreference.md +152 -0
  37. package/dist/tools/powershell/documentation/get-itemreferrer.md +154 -0
  38. package/dist/tools/powershell/documentation/get-itemtemplate.md +152 -0
  39. package/dist/tools/powershell/documentation/get-itemworkflowevent.md +133 -0
  40. package/dist/tools/powershell/documentation/get-layout.md +142 -0
  41. package/dist/tools/powershell/documentation/get-layoutdevice.md +97 -0
  42. package/dist/tools/powershell/documentation/get-package.md +63 -0
  43. package/dist/tools/powershell/documentation/get-placeholdersetting.md +477 -0
  44. package/dist/tools/powershell/documentation/get-preset.md +70 -0
  45. package/dist/tools/powershell/documentation/get-rendering.md +248 -0
  46. package/dist/tools/powershell/documentation/get-renderingparameter.md +84 -0
  47. package/dist/tools/powershell/documentation/get-role.md +134 -0
  48. package/dist/tools/powershell/documentation/get-rolemember.md +131 -0
  49. package/dist/tools/powershell/documentation/get-scriptsession.md +128 -0
  50. package/dist/tools/powershell/documentation/get-searchindex.md +92 -0
  51. package/dist/tools/powershell/documentation/get-session.md +107 -0
  52. package/dist/tools/powershell/documentation/get-sitecorejob.md +102 -0
  53. package/dist/tools/powershell/documentation/get-spemodule.md +134 -0
  54. package/dist/tools/powershell/documentation/get-spemodulefeatureroot.md +113 -0
  55. package/dist/tools/powershell/documentation/get-taskschedule.md +136 -0
  56. package/dist/tools/powershell/documentation/get-updatepackagediff.md +110 -0
  57. package/dist/tools/powershell/documentation/get-user.md +193 -0
  58. package/dist/tools/powershell/documentation/get-useragent.md +38 -0
  59. package/dist/tools/powershell/documentation/import-function.md +83 -0
  60. package/dist/tools/powershell/documentation/import-item-1.md +180 -0
  61. package/dist/tools/powershell/documentation/import-item.md +180 -0
  62. package/dist/tools/powershell/documentation/import-role.md +137 -0
  63. package/dist/tools/powershell/documentation/import-user.md +137 -0
  64. package/dist/tools/powershell/documentation/initialize-item.md +87 -0
  65. package/dist/tools/powershell/documentation/initialize-searchindex.md +116 -0
  66. package/dist/tools/powershell/documentation/initialize-searchindexitem.md +85 -0
  67. package/dist/tools/powershell/documentation/install-package.md +95 -0
  68. package/dist/tools/powershell/documentation/install-updatepackage.md +90 -0
  69. package/dist/tools/powershell/documentation/invoke-javascript.md +22 -0
  70. package/dist/tools/powershell/documentation/invoke-script.md +111 -0
  71. package/dist/tools/powershell/documentation/invoke-shellcommand.md +144 -0
  72. package/dist/tools/powershell/documentation/invoke-workflow.md +142 -0
  73. package/dist/tools/powershell/documentation/lock-item.md +157 -0
  74. package/dist/tools/powershell/documentation/login-user.md +56 -0
  75. package/dist/tools/powershell/documentation/logout-user.md +30 -0
  76. package/dist/tools/powershell/documentation/merge-layout.md +102 -0
  77. package/dist/tools/powershell/documentation/new-domain.md +72 -0
  78. package/dist/tools/powershell/documentation/new-explicitfilesource.md +104 -0
  79. package/dist/tools/powershell/documentation/new-explicititemsource.md +146 -0
  80. package/dist/tools/powershell/documentation/new-filesource.md +128 -0
  81. package/dist/tools/powershell/documentation/new-itemacl.md +175 -0
  82. package/dist/tools/powershell/documentation/new-itemclone.md +139 -0
  83. package/dist/tools/powershell/documentation/new-itemsource.md +171 -0
  84. package/dist/tools/powershell/documentation/new-itemworkflowevent.md +140 -0
  85. package/dist/tools/powershell/documentation/new-package.md +81 -0
  86. package/dist/tools/powershell/documentation/new-placeholdersetting.md +255 -0
  87. package/dist/tools/powershell/documentation/new-rendering.md +243 -0
  88. package/dist/tools/powershell/documentation/new-role.md +56 -0
  89. package/dist/tools/powershell/documentation/new-securitysource.md +176 -0
  90. package/dist/tools/powershell/documentation/new-user.md +161 -0
  91. package/dist/tools/powershell/documentation/new-usingblock.md +95 -0
  92. package/dist/tools/powershell/documentation/out-download.md +123 -0
  93. package/dist/tools/powershell/documentation/protect-item.md +120 -0
  94. package/dist/tools/powershell/documentation/publish-item.md +224 -0
  95. package/dist/tools/powershell/documentation/read-variable.md +252 -0
  96. package/dist/tools/powershell/documentation/receive-file.md +244 -0
  97. package/dist/tools/powershell/documentation/receive-itemclonenotification.md +116 -0
  98. package/dist/tools/powershell/documentation/receive-scriptsession.md +108 -0
  99. package/dist/tools/powershell/documentation/remove-archiveitem.md +125 -0
  100. package/dist/tools/powershell/documentation/remove-basetemplate.md +137 -0
  101. package/dist/tools/powershell/documentation/remove-domain.md +70 -0
  102. package/dist/tools/powershell/documentation/remove-itemversion.md +209 -0
  103. package/dist/tools/powershell/documentation/remove-layout.md +151 -0
  104. package/dist/tools/powershell/documentation/remove-placeholdersetting.md +478 -0
  105. package/dist/tools/powershell/documentation/remove-rendering.md +253 -0
  106. package/dist/tools/powershell/documentation/remove-renderingparameter.md +83 -0
  107. package/dist/tools/powershell/documentation/remove-role.md +70 -0
  108. package/dist/tools/powershell/documentation/remove-rolemember.md +79 -0
  109. package/dist/tools/powershell/documentation/remove-scriptsession.md +72 -0
  110. package/dist/tools/powershell/documentation/remove-searchindexitem.md +79 -0
  111. package/dist/tools/powershell/documentation/remove-session.md +77 -0
  112. package/dist/tools/powershell/documentation/remove-user.md +97 -0
  113. package/dist/tools/powershell/documentation/reset-itemfield.md +149 -0
  114. package/dist/tools/powershell/documentation/reset-layout.md +130 -0
  115. package/dist/tools/powershell/documentation/restart-application.md +30 -0
  116. package/dist/tools/powershell/documentation/restore-archiveitem.md +126 -0
  117. package/dist/tools/powershell/documentation/resume-searchindex.md +84 -0
  118. package/dist/tools/powershell/documentation/send-file.md +160 -0
  119. package/dist/tools/powershell/documentation/send-sheermessage.md +66 -0
  120. package/dist/tools/powershell/documentation/set-hostproperty.md +90 -0
  121. package/dist/tools/powershell/documentation/set-itemacl.md +158 -0
  122. package/dist/tools/powershell/documentation/set-itemtemplate.md +156 -0
  123. package/dist/tools/powershell/documentation/set-layout.md +166 -0
  124. package/dist/tools/powershell/documentation/set-rendering.md +213 -0
  125. package/dist/tools/powershell/documentation/set-renderingparameter.md +97 -0
  126. package/dist/tools/powershell/documentation/set-user.md +221 -0
  127. package/dist/tools/powershell/documentation/set-userpassword.md +109 -0
  128. package/dist/tools/powershell/documentation/show-alert.md +53 -0
  129. package/dist/tools/powershell/documentation/show-application.md +150 -0
  130. package/dist/tools/powershell/documentation/show-confirm.md +61 -0
  131. package/dist/tools/powershell/documentation/show-fieldeditor.md +231 -0
  132. package/dist/tools/powershell/documentation/show-input.md +129 -0
  133. package/dist/tools/powershell/documentation/show-listview.md +276 -0
  134. package/dist/tools/powershell/documentation/show-modaldialog.md +137 -0
  135. package/dist/tools/powershell/documentation/show-result.md +158 -0
  136. package/dist/tools/powershell/documentation/show-yesnocancel.md +92 -0
  137. package/dist/tools/powershell/documentation/start-scriptsession.md +230 -0
  138. package/dist/tools/powershell/documentation/start-taskschedule.md +124 -0
  139. package/dist/tools/powershell/documentation/stop-scriptsession.md +78 -0
  140. package/dist/tools/powershell/documentation/stop-searchindex.md +84 -0
  141. package/dist/tools/powershell/documentation/suspend-searchindex.md +84 -0
  142. package/dist/tools/powershell/documentation/switch-rendering.md +248 -0
  143. package/dist/tools/powershell/documentation/test-account.md +74 -0
  144. package/dist/tools/powershell/documentation/test-basetemplate.md +97 -0
  145. package/dist/tools/powershell/documentation/test-itemacl.md +182 -0
  146. package/dist/tools/powershell/documentation/test-rule.md +111 -0
  147. package/dist/tools/powershell/documentation/unlock-item.md +124 -0
  148. package/dist/tools/powershell/documentation/unlock-user.md +84 -0
  149. package/dist/tools/powershell/documentation/unprotect-item.md +124 -0
  150. package/dist/tools/powershell/documentation/update-itemreferrer.md +234 -0
  151. package/dist/tools/powershell/documentation/update-listview.md +139 -0
  152. package/dist/tools/powershell/documentation/update-searchindexitem.md +79 -0
  153. package/dist/tools/powershell/documentation/wait-scriptsession.md +100 -0
  154. package/dist/tools/powershell/documentation/write-log.md +82 -0
  155. package/dist/tools/powershell/get-powershell-documentation.d.ts +2 -0
  156. package/dist/tools/powershell/get-powershell-documentation.js +47 -0
  157. package/dist/tools/powershell/get-powershell-documentation.js.map +1 -0
  158. package/dist/tools/powershell/run-powershell-script.d.ts +3 -0
  159. package/dist/tools/powershell/run-powershell-script.js +13 -0
  160. package/dist/tools/powershell/run-powershell-script.js.map +1 -0
  161. package/dist/tools/sitecore-cli/get-sitecore-cli-documentation.d.ts +3 -0
  162. package/dist/tools/sitecore-cli/get-sitecore-cli-documentation.js +24 -0
  163. package/dist/tools/sitecore-cli/get-sitecore-cli-documentation.js.map +1 -0
  164. package/dist/tools/sitecore-cli/sitecore-cli-documentation.md +70 -0
  165. package/package.json +8 -8
@@ -0,0 +1,154 @@
1
+ # Get-ItemReferrer
2
+
3
+ Returns all the items referring to the specified item.
4
+
5
+ ## Syntax
6
+
7
+ Get-ItemReferrer -Item <Item>
8
+
9
+ Get-ItemReferrer -Item <Item> -ItemLink
10
+
11
+ Get-ItemReferrer -Path <String> \[-Language <String\[\]>\]
12
+
13
+ Get-ItemReferrer -Path <String> \[-Language <String\[\]>\] -ItemLink
14
+
15
+ Get-ItemReferrer -Id <String> \[-Database <String>\] \[-Language <String\[\]>\]
16
+
17
+ Get-ItemReferrer -Id <String> \[-Database <String>\] \[-Language <String\[\]>\] -ItemLink
18
+
19
+ ## Detailed Description
20
+
21
+ The Get-ItemReferrer command returns all items referring to the specified item. If -ItemLink parameter is used the command will return links rather than items.
22
+
23
+ © 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
24
+
25
+ ## Parameters
26
+
27
+ ### -Item <Item>
28
+
29
+ The item to be analysed.
30
+
31
+ | Aliases | |
32
+ | :--- | :--- |
33
+ | Required? | true |
34
+ | Position? | named |
35
+ | Default Value | |
36
+ | Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
37
+ | Accept Wildcard Characters? | false |
38
+
39
+ ### -Path <String>
40
+
41
+ Path to the item to be processed - additionally specify Language parameter to fetch different item language than the current user language.
42
+
43
+ | Aliases | |
44
+ | :--- | :--- |
45
+ | Required? | true |
46
+ | Position? | named |
47
+ | Default Value | |
48
+ | Accept Pipeline Input? | false |
49
+ | Accept Wildcard Characters? | false |
50
+
51
+ ### -Id <String>
52
+
53
+ Id of the the item to be processed - additionally specify Language parameter to fetch different item language than the current user language.
54
+
55
+ | Aliases | |
56
+ | :--- | :--- |
57
+ | Required? | true |
58
+ | Position? | named |
59
+ | Default Value | |
60
+ | Accept Pipeline Input? | false |
61
+ | Accept Wildcard Characters? | false |
62
+
63
+ ### -Database <String>
64
+
65
+ Database containing the item to be processed - can work with Language parameter to narrow the publication scope.
66
+
67
+ | Aliases | |
68
+ | :--- | :--- |
69
+ | Required? | false |
70
+ | Position? | named |
71
+ | Default Value | |
72
+ | Accept Pipeline Input? | false |
73
+ | Accept Wildcard Characters? | false |
74
+
75
+ ### -Language <String\[\]>
76
+
77
+ Language that will be used as source language. If not specified the current user language will be used. Globbing/wildcard supported.
78
+
79
+ | Aliases | |
80
+ | :--- | :--- |
81
+ | Required? | false |
82
+ | Position? | named |
83
+ | Default Value | |
84
+ | Accept Pipeline Input? | false |
85
+ | Accept Wildcard Characters? | false |
86
+
87
+ ### -ItemLink <SwitchParameter>
88
+
89
+ Return ItemLink that define both source and target of a link rather than items linking to the specified item.
90
+
91
+ | Aliases | |
92
+ | :--- | :--- |
93
+ | Required? | true |
94
+ | Position? | named |
95
+ | Default Value | |
96
+ | Accept Pipeline Input? | false |
97
+ | Accept Wildcard Characters? | false |
98
+
99
+ ## Inputs
100
+
101
+ The input type is the type of the objects that you can pipe to the cmdlet.
102
+
103
+ * Sitecore.Data.Items.Item
104
+
105
+ ## Outputs
106
+
107
+ The output type is the type of the objects that the cmdlet emits.
108
+
109
+ * Sitecore.Data.Items.Item
110
+
111
+ Sitecore.Links.ItemLink
112
+
113
+ ## Notes
114
+
115
+ Help Author: Adam Najmanowicz, Michael West
116
+
117
+ ## Examples
118
+
119
+ ### EXAMPLE 1
120
+
121
+ ```powershell
122
+ PS master:\>Get-ItemReferrer -Path master:\content\home
123
+
124
+ Name Children Languages Id TemplateName
125
+ ---- -------- --------- -- ------------
126
+ Home True {en, de-DE, es-ES, pt... {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9} Sample Item
127
+ Form False {en, de-DE, es-ES, pt... {6D3B4E7D-FEF8-4110-804A-B56605688830} Webcontrol
128
+ news True {en, de-DE, es-ES, pt... {DB894F2F-D53F-4A2D-B58F-957BFAC2C848} Article
129
+ learn-about-oms False {en, de-DE, es-ES, pt... {79ECF4DF-9DB7-430F-9BFF-D164978C2333} Link
130
+ ```
131
+
132
+ ### EXAMPLE 2
133
+
134
+ ```powershell
135
+ PS master:\>Get-Item master:\content\home | Get-ItemReferrer -ItemLink
136
+
137
+ SourceItemLanguage : en
138
+ SourceItemVersion : 1
139
+ TargetItemLanguage :
140
+ TargetItemVersion : 0
141
+ SourceDatabaseName : master
142
+ SourceFieldID : {F685964D-02E1-4DB6-A0A2-BFA59F5F9806}
143
+ SourceItemID : {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}
144
+ TargetDatabaseName : master
145
+ TargetItemID : {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}
146
+ TargetPath : /sitecore/content/Home
147
+ ```
148
+
149
+ ## Related Topics
150
+
151
+ * [Get-ItemReference](get-itemreference.md)
152
+ * [Update-ItemReferrer](update-itemreferrer.md)
153
+ * [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
154
+
@@ -0,0 +1,152 @@
1
+ # Get-ItemTemplate
2
+
3
+ Returns the item template and its base templates.
4
+
5
+ ## Syntax
6
+
7
+ Get-ItemTemplate \[-Item\] <Item> \[-Recurse\]
8
+
9
+ Get-ItemTemplate \[-Path\] <String> \[-Recurse\]
10
+
11
+ Get-ItemTemplate -Id <String> \[-Database <String>\] \[-Recurse\]
12
+
13
+ ## Detailed Description
14
+
15
+ The Get-ItemTemplate command returns the item template and its base templates.
16
+
17
+ © 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
18
+
19
+ ## Parameters
20
+
21
+ ### -Recurse <SwitchParameter>
22
+
23
+ Return the template the item is based on and all of its base templates.
24
+
25
+ | Aliases | |
26
+ | :--- | :--- |
27
+ | Required? | false |
28
+ | Position? | named |
29
+ | Default Value | |
30
+ | Accept Pipeline Input? | false |
31
+ | Accept Wildcard Characters? | false |
32
+
33
+ ### -Item <Item>
34
+
35
+ The item to be analysed.
36
+
37
+ | Aliases | |
38
+ | :--- | :--- |
39
+ | Required? | true |
40
+ | Position? | 1 |
41
+ | Default Value | |
42
+ | Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
43
+ | Accept Wildcard Characters? | false |
44
+
45
+ ### -Path <String>
46
+
47
+ Path to the item to be analysed.
48
+
49
+ | Aliases | |
50
+ | :--- | :--- |
51
+ | Required? | true |
52
+ | Position? | 1 |
53
+ | Default Value | |
54
+ | Accept Pipeline Input? | false |
55
+ | Accept Wildcard Characters? | false |
56
+
57
+ ### -Id <String>
58
+
59
+ Id of the item to be analysed.
60
+
61
+ | Aliases | |
62
+ | :--- | :--- |
63
+ | Required? | true |
64
+ | Position? | named |
65
+ | Default Value | |
66
+ | Accept Pipeline Input? | false |
67
+ | Accept Wildcard Characters? | false |
68
+
69
+ ### -Database <String>
70
+
71
+ Database containing the item to be analysed - required if item is specified with Id.
72
+
73
+ | Aliases | |
74
+ | :--- | :--- |
75
+ | Required? | false |
76
+ | Position? | named |
77
+ | Default Value | |
78
+ | Accept Pipeline Input? | false |
79
+ | Accept Wildcard Characters? | false |
80
+
81
+ ## Inputs
82
+
83
+ The input type is the type of the objects that you can pipe to the cmdlet.
84
+
85
+ * Sitecore.Data.Items.Item
86
+
87
+ ## Outputs
88
+
89
+ The output type is the type of the objects that the cmdlet emits.
90
+
91
+ * Sitecore.Data.Items.TemplateItem
92
+
93
+ ## Notes
94
+
95
+ Help Author: Adam Najmanowicz, Michael West
96
+
97
+ ## Examples
98
+
99
+ ### EXAMPLE 1
100
+
101
+ Get template of /sitecore/conent/home item
102
+
103
+ ```powershell
104
+ PS master:\> Get-ItemTemplate -Path master:\content\home
105
+
106
+ BaseTemplates : {Standard template}
107
+ Fields : {__Context Menu, __Display name, __Editor, __Editors...}
108
+ FullName : Sample/Sample Item
109
+ Key : sample item
110
+ OwnFields : {Title, Text, Image, State...}
111
+ StandardValues : Sitecore.Data.Items.Item
112
+ Database : master
113
+ DisplayName : Sample Item
114
+ Icon : Applications/16x16/document.png
115
+ ID : {76036F5E-CBCE-46D1-AF0A-4143F9B557AA}
116
+ InnerItem : Sitecore.Data.Items.Item
117
+ Name : Sample Item
118
+ ```
119
+
120
+ ### EXAMPLE 2
121
+
122
+ Get template of /sitecore/conent/home item and all of the templates its template is based on then format it to only show the template name, path and Key
123
+
124
+ ```powershell
125
+ PS master:\> Get-Item -Path master:/content/Home | Get-ItemTemplate -Recurse | ft Name, FullName, Key -auto
126
+
127
+ Name FullName Key
128
+ ---- -------- ---
129
+ Sample Item Sample/Sample Item sample item
130
+ Standard template System/Templates/Standard template standard template
131
+ Advanced System/Templates/Sections/Advanced advanced
132
+ Appearance System/Templates/Sections/Appearance appearance
133
+ Help System/Templates/Sections/Help help
134
+ Layout System/Templates/Sections/Layout layout
135
+ Lifetime System/Templates/Sections/Lifetime lifetime
136
+ Insert Options System/Templates/Sections/Insert Options insert options
137
+ Publishing System/Templates/Sections/Publishing publishing
138
+ Security System/Templates/Sections/Security security
139
+ Statistics System/Templates/Sections/Statistics statistics
140
+ Tasks System/Templates/Sections/Tasks tasks
141
+ Validators System/Templates/Sections/Validators validators
142
+ Workflow System/Templates/Sections/Workflow workflow
143
+ ```
144
+
145
+ ## Related Topics
146
+
147
+ * [Get-ItemField](get-itemfield.md)
148
+ * [Set-ItemTemplate](set-itemtemplate.md)
149
+ * [Add-BaseTemplate](add-basetemplate.md)
150
+ * [Remove-BaseTemplate](remove-basetemplate.md)
151
+ * [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
152
+
@@ -0,0 +1,133 @@
1
+ # Get-ItemWorkflowEvent
2
+
3
+ Returns entries from the history store notifying of workflow state change for the specified item.
4
+
5
+ ## Syntax
6
+
7
+ Get-ItemWorkflowEvent \[-Item\] <Item> \[-Identity <String>\] \[-Language <String\[\]>\]
8
+
9
+ Get-ItemWorkflowEvent \[-Path\] <String> \[-Identity <String>\] \[-Language <String\[\]>\]
10
+
11
+ Get-ItemWorkflowEvent -Id <String> \[-Database <String>\] \[-Identity <String>\] \[-Language <String\[\]>\]
12
+
13
+ ## Detailed Description
14
+
15
+ The Get-ItemWorkflowEvent command returns entries from the history store notifying of workflow state change for the specified item.
16
+
17
+ © 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
18
+
19
+ ## Parameters
20
+
21
+ ### -Identity <String>
22
+
23
+ User that has been associated with the enteries. Wildcards are supported.
24
+
25
+ | Aliases | |
26
+ | :--- | :--- |
27
+ | Required? | false |
28
+ | Position? | named |
29
+ | Default Value | |
30
+ | Accept Pipeline Input? | false |
31
+ | Accept Wildcard Characters? | false |
32
+
33
+ ### -Language <String\[\]>
34
+
35
+ Language that will be used as source language. If not specified the current user language will be used. Globbing/wildcard supported.
36
+
37
+ | Aliases | |
38
+ | :--- | :--- |
39
+ | Required? | false |
40
+ | Position? | named |
41
+ | Default Value | |
42
+ | Accept Pipeline Input? | false |
43
+ | Accept Wildcard Characters? | false |
44
+
45
+ ### -Item <Item>
46
+
47
+ The item to have its history items returned.
48
+
49
+ | Aliases | |
50
+ | :--- | :--- |
51
+ | Required? | true |
52
+ | Position? | 1 |
53
+ | Default Value | |
54
+ | Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
55
+ | Accept Wildcard Characters? | false |
56
+
57
+ ### -Path <String>
58
+
59
+ Path to the item to have its history items returned - additionally specify Language parameter to fetch different item language than the current user language.
60
+
61
+ | Aliases | |
62
+ | :--- | :--- |
63
+ | Required? | true |
64
+ | Position? | 1 |
65
+ | Default Value | |
66
+ | Accept Pipeline Input? | false |
67
+ | Accept Wildcard Characters? | false |
68
+
69
+ ### -Id <String>
70
+
71
+ Id of the the item to have its history items returned - additionally specify Language parameter to fetch different item language than the current user language.
72
+
73
+ | Aliases | |
74
+ | :--- | :--- |
75
+ | Required? | true |
76
+ | Position? | named |
77
+ | Default Value | |
78
+ | Accept Pipeline Input? | false |
79
+ | Accept Wildcard Characters? | false |
80
+
81
+ ### -Database <String>
82
+
83
+ Database containing the item to have its history items returned - can work with Language parameter to narrow the publication scope.
84
+
85
+ | Aliases | |
86
+ | :--- | :--- |
87
+ | Required? | false |
88
+ | Position? | named |
89
+ | Default Value | |
90
+ | Accept Pipeline Input? | false |
91
+ | Accept Wildcard Characters? | false |
92
+
93
+ ## Inputs
94
+
95
+ The input type is the type of the objects that you can pipe to the cmdlet.
96
+
97
+ * Sitecore.Data.Items.Item
98
+
99
+ ## Outputs
100
+
101
+ The output type is the type of the objects that the cmdlet emits.
102
+
103
+ * Sitecore.Workflows.WorkflowEvent
104
+
105
+ ## Notes
106
+
107
+ Help Author: Adam Najmanowicz, Michael West
108
+
109
+ ## Examples
110
+
111
+ ### EXAMPLE
112
+
113
+ ```powershell
114
+ PS master:\> Get-ItemWorkflowEvent -Path master:\content\home
115
+ Date : 2014-07-27 14:23:33
116
+ NewState : {190B1C84-F1BE-47ED-AA41-F42193D9C8FC}
117
+ OldState : {46DA5376-10DC-4B66-B464-AFDAA29DE84F}
118
+ Text : Automated
119
+ User : sitecore\admin
120
+
121
+ Date : 2014-08-01 15:43:29
122
+ NewState : {190B1C84-F1BE-47ED-AA41-F42193D9C8FC}
123
+ OldState : {190B1C84-F1BE-47ED-AA41-F42193D9C8FC}
124
+ Text : Just leaving a note
125
+ User : sitecore\admin
126
+ ```
127
+
128
+ ## Related Topics
129
+
130
+ * [New-ItemWorkflowEvent](new-itemworkflowevent.md)
131
+ * Execute-Workflow
132
+ * [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
133
+
@@ -0,0 +1,142 @@
1
+ # Get-Layout
2
+
3
+ Returns the layout for the specified item.
4
+
5
+ ## Syntax
6
+
7
+ ```powershell
8
+ Get-Layout [-Item] <Item> [-Device <DeviceItem>] [-FinalLayout] [-Language <String[]>]
9
+
10
+ Get-Layout [-Path] <String> [-Device <DeviceItem>] [-FinalLayout] [-Language <String[]>]
11
+
12
+ Get-Layout -Id <String> [-Database <String>] [-Device <DeviceItem>] [-FinalLayout] [-Language <String[]>]
13
+ ```
14
+
15
+ ## Detailed Description
16
+
17
+ The Get-Layout command returns the layout for the specified item.
18
+
19
+ © 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
20
+
21
+ ## Parameters
22
+
23
+ ### -Device &lt;DeviceItem&gt;
24
+
25
+ Layout Device for which the item should be returned. If not specified All layouts used will be returned. If Device is specified but no layout is specified the command will return an error that can be silenced
26
+
27
+ | Aliases | |
28
+ | :--- | :--- |
29
+ | Required? | false |
30
+ | Position? | named |
31
+ | Default Value | |
32
+ | Accept Pipeline Input? | false |
33
+ | Accept Wildcard Characters? | false |
34
+
35
+ ### -FinalLayout &lt;SwitchParameter&gt;
36
+
37
+ Returns the Final Layout. If not provided, the Shared Layout will be returned. Applies to Sitecore 8.0 and higher only.
38
+
39
+ | Aliases | |
40
+ | :--- | :--- |
41
+ | Required? | false |
42
+ | Position? | named |
43
+ | Default Value | |
44
+ | Accept Pipeline Input? | false |
45
+ | Accept Wildcard Characters? | false |
46
+
47
+ ### -Language &lt;String\[\]&gt;
48
+
49
+ | Aliases | |
50
+ | :--- | :--- |
51
+ | Required? | false |
52
+ | Position? | named |
53
+ | Default Value | |
54
+ | Accept Pipeline Input? | false |
55
+ | Accept Wildcard Characters? | false |
56
+
57
+ ### -Item &lt;Item&gt;
58
+
59
+ The item to be processed.
60
+
61
+ | Aliases | |
62
+ | :--- | :--- |
63
+ | Required? | true |
64
+ | Position? | 1 |
65
+ | Default Value | |
66
+ | Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
67
+ | Accept Wildcard Characters? | false |
68
+
69
+ ### -Path &lt;String&gt;
70
+
71
+ Path to the item to be processed - can work with Language parameter to narrow the publication scope.
72
+
73
+ | Aliases | |
74
+ | :--- | :--- |
75
+ | Required? | true |
76
+ | Position? | 1 |
77
+ | Default Value | |
78
+ | Accept Pipeline Input? | false |
79
+ | Accept Wildcard Characters? | false |
80
+
81
+ ### -Id &lt;String&gt;
82
+
83
+ Id of the item to be processed - can work with Language parameter to narrow the publication scope.
84
+
85
+ | Aliases | |
86
+ | :--- | :--- |
87
+ | Required? | true |
88
+ | Position? | named |
89
+ | Default Value | |
90
+ | Accept Pipeline Input? | false |
91
+ | Accept Wildcard Characters? | false |
92
+
93
+ ### -Database &lt;String&gt;
94
+
95
+ Database containing the item to be processed - can work with Language parameter to narrow the publication scope.
96
+
97
+ | Aliases | |
98
+ | :--- | :--- |
99
+ | Required? | false |
100
+ | Position? | named |
101
+ | Default Value | |
102
+ | Accept Pipeline Input? | false |
103
+ | Accept Wildcard Characters? | false |
104
+
105
+ ## Inputs
106
+
107
+ The input type is the type of the objects that you can pipe to the cmdlet.
108
+
109
+ * Sitecore.Data.Items.Item
110
+
111
+ ## Outputs
112
+
113
+ The output type is the type of the objects that the cmdlet emits.
114
+
115
+ * Sitecore.Data.Items.Item
116
+
117
+ ## Notes
118
+
119
+ Help Author: Adam Najmanowicz, Michael West
120
+
121
+ ## Examples
122
+
123
+ ### EXAMPLE 1
124
+
125
+ The following retrieves the layouts defined on the home item.
126
+
127
+ ```powershell
128
+ Get-Layout -Path "master:{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}"
129
+ ```
130
+
131
+ ## Related Topics
132
+
133
+ * [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
134
+ * [Add-Rendering](add-rendering.md)
135
+ * [New-Rendering](new-rendering.md)
136
+ * [Set-Rendering](set-rendering.md)
137
+ * [Get-Rendering](get-rendering.md)
138
+ * [Get-LayoutDevice](get-layoutdevice.md)
139
+ * [Remove-Rendering](remove-rendering.md)
140
+ * [Set-Layout](set-layout.md)
141
+ * [Reset-Layout](reset-layout.md)
142
+
@@ -0,0 +1,97 @@
1
+ # Get-LayoutDevice
2
+
3
+ Returns the layout for the specified device.
4
+
5
+ ## Syntax
6
+
7
+ ```powershell
8
+ Get-LayoutDevice [-Name] <String>
9
+
10
+ Get-LayoutDevice [-Default]
11
+ ```
12
+
13
+ ## Detailed Description
14
+
15
+ The Get-LayoutDevice command returns the layout for the specified device.
16
+
17
+ © 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
18
+
19
+ ## Parameters
20
+
21
+ ### -Name &lt;String&gt;
22
+
23
+ Name of the device to return.
24
+
25
+ | Aliases | |
26
+ | :--- | :--- |
27
+ | Required? | true |
28
+ | Position? | 1 |
29
+ | Default Value | |
30
+ | Accept Pipeline Input? | false |
31
+ | Accept Wildcard Characters? | false |
32
+
33
+ ### -Default &lt;SwitchParameter&gt;
34
+
35
+ Determines that a default system layout device should be returned.
36
+
37
+ | Aliases | |
38
+ | :--- | :--- |
39
+ | Required? | true |
40
+ | Position? | 1 |
41
+ | Default Value | |
42
+ | Accept Pipeline Input? | false |
43
+ | Accept Wildcard Characters? | false |
44
+
45
+ ## Inputs
46
+
47
+ The input type is the type of the objects that you can pipe to the cmdlet.
48
+
49
+ * Sitecore.Data.Items.Item
50
+
51
+ ## Outputs
52
+
53
+ The output type is the type of the objects that the cmdlet emits.
54
+
55
+ * Sitecore.Data.Items.DeviceItem
56
+
57
+ ## Notes
58
+
59
+ Help Author: Adam Najmanowicz, Michael West
60
+
61
+ ## Examples
62
+
63
+ ### EXAMPLE 1
64
+
65
+ Get Print device
66
+
67
+ ```powershell
68
+ PS master:\> Get-LayoutDevice "Print"
69
+ ```
70
+
71
+ ### EXAMPLE 2
72
+
73
+ Get default device
74
+
75
+ ```powershell
76
+ PS master:\> Get-LayoutDevice -Default
77
+ ```
78
+
79
+ ### EXAMPLE 3
80
+
81
+ Get all layout devices
82
+
83
+ ```powershell
84
+ PS master:\> Get-LayoutDevice *
85
+ ```
86
+
87
+ ## Related Topics
88
+
89
+ * [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
90
+ * [Add-Rendering](add-rendering.md)
91
+ * [New-Rendering](new-rendering.md)
92
+ * [Set-Rendering](set-rendering.md)
93
+ * [Get-Rendering](get-rendering.md)
94
+ * [Remove-Rendering](remove-rendering.md)
95
+ * [Get-Layout](get-layout.md)
96
+ * [Set-Layout](set-layout.md)
97
+