@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,111 @@
1
+ # Export-UpdatePackage
2
+
3
+ Exports a Sitecore update package containing a serialization diff list.
4
+
5
+ ## Syntax
6
+
7
+ Export-UpdatePackage \[-CommandList\] <List\`1> \[\[-Name\] <String>\] \[\[-Path\] <String>\] \[-Readme <String>\] \[-LicenseFileName <String>\] \[-Tag <String>\]
8
+
9
+ ## Detailed Description
10
+
11
+ The Export-UpdatePackage command generates a Sitecore update package containing a serialization diff list.
12
+
13
+ © 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
14
+
15
+ ## Parameters
16
+
17
+ ### -CommandList <List\`1>
18
+
19
+ List of changes to be included in the package.
20
+
21
+ | Aliases | |
22
+ | :--- | :--- |
23
+ | Required? | true |
24
+ | Position? | 1 |
25
+ | Default Value | |
26
+ | Accept Pipeline Input? | true \(ByValue\) |
27
+ | Accept Wildcard Characters? | false |
28
+
29
+ ### -Name <String>
30
+
31
+ Name of the package.
32
+
33
+ | Aliases | |
34
+ | :--- | :--- |
35
+ | Required? | false |
36
+ | Position? | 2 |
37
+ | Default Value | |
38
+ | Accept Pipeline Input? | false |
39
+ | Accept Wildcard Characters? | false |
40
+
41
+ ### -Path <String>
42
+
43
+ Path the update package should be saved under.
44
+
45
+ | Aliases | |
46
+ | :--- | :--- |
47
+ | Required? | false |
48
+ | Position? | 3 |
49
+ | Default Value | |
50
+ | Accept Pipeline Input? | false |
51
+ | Accept Wildcard Characters? | false |
52
+
53
+ ### -Readme <String>
54
+
55
+ Contents of the "read me" instruction for the package
56
+
57
+ | Aliases | |
58
+ | :--- | :--- |
59
+ | Required? | false |
60
+ | Position? | named |
61
+ | Default Value | |
62
+ | Accept Pipeline Input? | false |
63
+ | Accept Wildcard Characters? | false |
64
+
65
+ ### -LicenseFileName <String>
66
+
67
+ file name of the license to be included with the package.
68
+
69
+ | Aliases | |
70
+ | :--- | :--- |
71
+ | Required? | false |
72
+ | Position? | named |
73
+ | Default Value | |
74
+ | Accept Pipeline Input? | false |
75
+ | Accept Wildcard Characters? | false |
76
+
77
+ ### -Tag <String>
78
+
79
+ Package tag.
80
+
81
+ | Aliases | |
82
+ | :--- | :--- |
83
+ | Required? | false |
84
+ | Position? | named |
85
+ | Default Value | |
86
+ | Accept Pipeline Input? | false |
87
+ | Accept Wildcard Characters? | false |
88
+
89
+ ## Notes
90
+
91
+ Help Author: Adam Najmanowicz, Michael West
92
+
93
+ ## Examples
94
+
95
+ ### EXAMPLE
96
+
97
+ Create an update package that transforms the serialized database state defined in C:\temp\SerializationSource into into set defined in C:\temp\SerializationTarget
98
+
99
+ ```powershell
100
+ $diff = Get-UpdatePackageDiff -SourcePath C:\temp\SerializationSource -TargetPath C:\temp\SerializationTarget
101
+ Export-UpdatePackage -Path C:\temp\SerializationDiff.update -CommandList $diff -Name name
102
+ ```
103
+
104
+ ## Related Topics
105
+
106
+ * [Get-UpdatePackageDiff](get-updatepackagediff.md)
107
+ * [Install-UpdatePackage](install-updatepackage.md)
108
+ * [https://sitecoresnippets.blogspot.com/2012/10/sitecore-courier-effortless-packaging.html](https://sitecoresnippets.blogspot.com/2012/10/sitecore-courier-effortless-packaging.html)
109
+ * [https://github.com/adoprog/Sitecore-Courier](https://github.com/adoprog/Sitecore-Courier)
110
+ * [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
111
+
@@ -0,0 +1,147 @@
1
+ # Export-User
2
+
3
+ Export \(serialize\) a Sitecore user to the filesystem on the server.
4
+
5
+ ## Syntax
6
+
7
+ Export-User \[-Identity\] <AccountIdentity> \[-Root <String>\]
8
+
9
+ Export-User \[-Identity\] <AccountIdentity> -Path <String>
10
+
11
+ Export-User -Filter <String> \[-Root <String>\]
12
+
13
+ Export-User \[-User\] <User> \[-Root <String>\]
14
+
15
+ Export-User \[-User\] <User> -Path <String>
16
+
17
+ Export-User -Current \[-Root <String>\]
18
+
19
+ Export-User -Current -Path <String>
20
+
21
+ ## Detailed Description
22
+
23
+ The Export-User command serializes a Sitecore user to the filesystem on the server.
24
+
25
+ The Identity parameter specifies the Sitecore user to get. You can specify a user by its local name or fully qualified name. You can also specify user object variable, such as $<user>.
26
+
27
+ To search for and retrieve more than one user, use the Filter parameter.
28
+
29
+ You can also pipe a user from the Get-user command.
30
+
31
+ © 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
32
+
33
+ ## Parameters
34
+
35
+ ### -Identity <AccountIdentity>
36
+
37
+ Specifies the Sitecore user by providing one of the following values.
38
+
39
+ ```powershell
40
+ Local Name
41
+ Example: admin
42
+ Fully Qualified Name
43
+ Example: sitecore\admi
44
+ ```
45
+
46
+ | Aliases | |
47
+ | :--- | :--- |
48
+ | Required? | true |
49
+ | Position? | 1 |
50
+ | Default Value | |
51
+ | Accept Pipeline Input? | true \(ByValue\) |
52
+ | Accept Wildcard Characters? | false |
53
+
54
+ ### -Filter <String>
55
+
56
+ Specifies a simple pattern to match Sitecore users.
57
+
58
+ Examples: The following examples show how to use the filter syntax.
59
+
60
+ To get all the users, use the asterisk wildcard: Export-User -Filter \*
61
+
62
+ To get all the users in a domain use the following command: Export-User -Filter "sitecore\*"
63
+
64
+ | Aliases | |
65
+ | :--- | :--- |
66
+ | Required? | true |
67
+ | Position? | named |
68
+ | Default Value | |
69
+ | Accept Pipeline Input? | false |
70
+ | Accept Wildcard Characters? | false |
71
+
72
+ ### -User <User>
73
+
74
+ User object retrieved from the Sitecore API or using the Get-User command.
75
+
76
+ | Aliases | |
77
+ | :--- | :--- |
78
+ | Required? | true |
79
+ | Position? | 1 |
80
+ | Default Value | |
81
+ | Accept Pipeline Input? | true \(ByValue\) |
82
+ | Accept Wildcard Characters? | false |
83
+
84
+ ### -Current <SwitchParameter>
85
+
86
+ Specifies that the current user should be serialized.
87
+
88
+ | Aliases | |
89
+ | :--- | :--- |
90
+ | Required? | true |
91
+ | Position? | named |
92
+ | Default Value | |
93
+ | Accept Pipeline Input? | false |
94
+ | Accept Wildcard Characters? | false |
95
+
96
+ ### -Path <String>
97
+
98
+ Path to the file the user should be saved to.
99
+
100
+ | Aliases | |
101
+ | :--- | :--- |
102
+ | Required? | true |
103
+ | Position? | named |
104
+ | Default Value | |
105
+ | Accept Pipeline Input? | false |
106
+ | Accept Wildcard Characters? | false |
107
+
108
+ ### -Root <String>
109
+
110
+ Overrides Sitecore Serialization root directory
111
+
112
+ | Aliases | |
113
+ | :--- | :--- |
114
+ | Required? | false |
115
+ | Position? | named |
116
+ | Default Value | |
117
+ | Accept Pipeline Input? | false |
118
+ | Accept Wildcard Characters? | false |
119
+
120
+ ## Inputs
121
+
122
+ The input type is the type of the objects that you can pipe to the cmdlet.
123
+
124
+ * Sitecore.Security.Accounts.User
125
+
126
+ ## Notes
127
+
128
+ Help Author: Adam Najmanowicz, Michael West
129
+
130
+ ## Examples
131
+
132
+ ### EXAMPLE
133
+
134
+ ```powershell
135
+ PS master:\> Export-User -Identify sitecore\admin
136
+ ```
137
+
138
+ ## Related Topics
139
+
140
+ * [Export-Role](export-role.md)
141
+ * [Import-User](import-user.md)
142
+ * [Export-Item](../packaging/export-item.md)
143
+ * [Import-Role](import-role.md)
144
+ * [Import-Item](export-user.md)
145
+ * [Get-User](get-user.md)
146
+ * [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
147
+