@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.
- package/README.md +3 -0
- package/dist/bundle.js +106 -12
- package/dist/register.js +7 -0
- package/dist/register.js.map +1 -1
- package/dist/tools/powershell/documentation/add-basetemplate.md +137 -0
- package/dist/tools/powershell/documentation/add-itemacl.md +254 -0
- package/dist/tools/powershell/documentation/add-itemversion.md +231 -0
- package/dist/tools/powershell/documentation/add-placeholdersetting.md +410 -0
- package/dist/tools/powershell/documentation/add-rendering.md +217 -0
- package/dist/tools/powershell/documentation/add-rolemember.md +88 -0
- package/dist/tools/powershell/documentation/clear-itemacl.md +131 -0
- package/dist/tools/powershell/documentation/close-window.md +32 -0
- package/dist/tools/powershell/documentation/commands-list.md +134 -0
- package/dist/tools/powershell/documentation/convertfrom-clixml.md +67 -0
- package/dist/tools/powershell/documentation/convertfrom-itemclone.md +118 -0
- package/dist/tools/powershell/documentation/convertto-clixml.md +66 -0
- package/dist/tools/powershell/documentation/disable-user.md +89 -0
- package/dist/tools/powershell/documentation/enable-user.md +89 -0
- package/dist/tools/powershell/documentation/expand-token.md +144 -0
- package/dist/tools/powershell/documentation/export-item.md +165 -0
- package/dist/tools/powershell/documentation/export-package.md +129 -0
- package/dist/tools/powershell/documentation/export-role.md +150 -0
- package/dist/tools/powershell/documentation/export-updatepackage.md +111 -0
- package/dist/tools/powershell/documentation/export-user.md +147 -0
- package/dist/tools/powershell/documentation/find-item.md +718 -0
- package/dist/tools/powershell/documentation/get-archive.md +73 -0
- package/dist/tools/powershell/documentation/get-archiveitem.md +138 -0
- package/dist/tools/powershell/documentation/get-cache.md +62 -0
- package/dist/tools/powershell/documentation/get-database.md +96 -0
- package/dist/tools/powershell/documentation/get-domain.md +75 -0
- package/dist/tools/powershell/documentation/get-item.md +186 -0
- package/dist/tools/powershell/documentation/get-itemacl.md +168 -0
- package/dist/tools/powershell/documentation/get-itemclone.md +100 -0
- package/dist/tools/powershell/documentation/get-itemclonenotification.md +95 -0
- package/dist/tools/powershell/documentation/get-itemfield.md +182 -0
- package/dist/tools/powershell/documentation/get-itemreference.md +152 -0
- package/dist/tools/powershell/documentation/get-itemreferrer.md +154 -0
- package/dist/tools/powershell/documentation/get-itemtemplate.md +152 -0
- package/dist/tools/powershell/documentation/get-itemworkflowevent.md +133 -0
- package/dist/tools/powershell/documentation/get-layout.md +142 -0
- package/dist/tools/powershell/documentation/get-layoutdevice.md +97 -0
- package/dist/tools/powershell/documentation/get-package.md +63 -0
- package/dist/tools/powershell/documentation/get-placeholdersetting.md +477 -0
- package/dist/tools/powershell/documentation/get-preset.md +70 -0
- package/dist/tools/powershell/documentation/get-rendering.md +248 -0
- package/dist/tools/powershell/documentation/get-renderingparameter.md +84 -0
- package/dist/tools/powershell/documentation/get-role.md +134 -0
- package/dist/tools/powershell/documentation/get-rolemember.md +131 -0
- package/dist/tools/powershell/documentation/get-scriptsession.md +128 -0
- package/dist/tools/powershell/documentation/get-searchindex.md +92 -0
- package/dist/tools/powershell/documentation/get-session.md +107 -0
- package/dist/tools/powershell/documentation/get-sitecorejob.md +102 -0
- package/dist/tools/powershell/documentation/get-spemodule.md +134 -0
- package/dist/tools/powershell/documentation/get-spemodulefeatureroot.md +113 -0
- package/dist/tools/powershell/documentation/get-taskschedule.md +136 -0
- package/dist/tools/powershell/documentation/get-updatepackagediff.md +110 -0
- package/dist/tools/powershell/documentation/get-user.md +193 -0
- package/dist/tools/powershell/documentation/get-useragent.md +38 -0
- package/dist/tools/powershell/documentation/import-function.md +83 -0
- package/dist/tools/powershell/documentation/import-item-1.md +180 -0
- package/dist/tools/powershell/documentation/import-item.md +180 -0
- package/dist/tools/powershell/documentation/import-role.md +137 -0
- package/dist/tools/powershell/documentation/import-user.md +137 -0
- package/dist/tools/powershell/documentation/initialize-item.md +87 -0
- package/dist/tools/powershell/documentation/initialize-searchindex.md +116 -0
- package/dist/tools/powershell/documentation/initialize-searchindexitem.md +85 -0
- package/dist/tools/powershell/documentation/install-package.md +95 -0
- package/dist/tools/powershell/documentation/install-updatepackage.md +90 -0
- package/dist/tools/powershell/documentation/invoke-javascript.md +22 -0
- package/dist/tools/powershell/documentation/invoke-script.md +111 -0
- package/dist/tools/powershell/documentation/invoke-shellcommand.md +144 -0
- package/dist/tools/powershell/documentation/invoke-workflow.md +142 -0
- package/dist/tools/powershell/documentation/lock-item.md +157 -0
- package/dist/tools/powershell/documentation/login-user.md +56 -0
- package/dist/tools/powershell/documentation/logout-user.md +30 -0
- package/dist/tools/powershell/documentation/merge-layout.md +102 -0
- package/dist/tools/powershell/documentation/new-domain.md +72 -0
- package/dist/tools/powershell/documentation/new-explicitfilesource.md +104 -0
- package/dist/tools/powershell/documentation/new-explicititemsource.md +146 -0
- package/dist/tools/powershell/documentation/new-filesource.md +128 -0
- package/dist/tools/powershell/documentation/new-itemacl.md +175 -0
- package/dist/tools/powershell/documentation/new-itemclone.md +139 -0
- package/dist/tools/powershell/documentation/new-itemsource.md +171 -0
- package/dist/tools/powershell/documentation/new-itemworkflowevent.md +140 -0
- package/dist/tools/powershell/documentation/new-package.md +81 -0
- package/dist/tools/powershell/documentation/new-placeholdersetting.md +255 -0
- package/dist/tools/powershell/documentation/new-rendering.md +243 -0
- package/dist/tools/powershell/documentation/new-role.md +56 -0
- package/dist/tools/powershell/documentation/new-securitysource.md +176 -0
- package/dist/tools/powershell/documentation/new-user.md +161 -0
- package/dist/tools/powershell/documentation/new-usingblock.md +95 -0
- package/dist/tools/powershell/documentation/out-download.md +123 -0
- package/dist/tools/powershell/documentation/protect-item.md +120 -0
- package/dist/tools/powershell/documentation/publish-item.md +224 -0
- package/dist/tools/powershell/documentation/read-variable.md +252 -0
- package/dist/tools/powershell/documentation/receive-file.md +244 -0
- package/dist/tools/powershell/documentation/receive-itemclonenotification.md +116 -0
- package/dist/tools/powershell/documentation/receive-scriptsession.md +108 -0
- package/dist/tools/powershell/documentation/remove-archiveitem.md +125 -0
- package/dist/tools/powershell/documentation/remove-basetemplate.md +137 -0
- package/dist/tools/powershell/documentation/remove-domain.md +70 -0
- package/dist/tools/powershell/documentation/remove-itemversion.md +209 -0
- package/dist/tools/powershell/documentation/remove-layout.md +151 -0
- package/dist/tools/powershell/documentation/remove-placeholdersetting.md +478 -0
- package/dist/tools/powershell/documentation/remove-rendering.md +253 -0
- package/dist/tools/powershell/documentation/remove-renderingparameter.md +83 -0
- package/dist/tools/powershell/documentation/remove-role.md +70 -0
- package/dist/tools/powershell/documentation/remove-rolemember.md +79 -0
- package/dist/tools/powershell/documentation/remove-scriptsession.md +72 -0
- package/dist/tools/powershell/documentation/remove-searchindexitem.md +79 -0
- package/dist/tools/powershell/documentation/remove-session.md +77 -0
- package/dist/tools/powershell/documentation/remove-user.md +97 -0
- package/dist/tools/powershell/documentation/reset-itemfield.md +149 -0
- package/dist/tools/powershell/documentation/reset-layout.md +130 -0
- package/dist/tools/powershell/documentation/restart-application.md +30 -0
- package/dist/tools/powershell/documentation/restore-archiveitem.md +126 -0
- package/dist/tools/powershell/documentation/resume-searchindex.md +84 -0
- package/dist/tools/powershell/documentation/send-file.md +160 -0
- package/dist/tools/powershell/documentation/send-sheermessage.md +66 -0
- package/dist/tools/powershell/documentation/set-hostproperty.md +90 -0
- package/dist/tools/powershell/documentation/set-itemacl.md +158 -0
- package/dist/tools/powershell/documentation/set-itemtemplate.md +156 -0
- package/dist/tools/powershell/documentation/set-layout.md +166 -0
- package/dist/tools/powershell/documentation/set-rendering.md +213 -0
- package/dist/tools/powershell/documentation/set-renderingparameter.md +97 -0
- package/dist/tools/powershell/documentation/set-user.md +221 -0
- package/dist/tools/powershell/documentation/set-userpassword.md +109 -0
- package/dist/tools/powershell/documentation/show-alert.md +53 -0
- package/dist/tools/powershell/documentation/show-application.md +150 -0
- package/dist/tools/powershell/documentation/show-confirm.md +61 -0
- package/dist/tools/powershell/documentation/show-fieldeditor.md +231 -0
- package/dist/tools/powershell/documentation/show-input.md +129 -0
- package/dist/tools/powershell/documentation/show-listview.md +276 -0
- package/dist/tools/powershell/documentation/show-modaldialog.md +137 -0
- package/dist/tools/powershell/documentation/show-result.md +158 -0
- package/dist/tools/powershell/documentation/show-yesnocancel.md +92 -0
- package/dist/tools/powershell/documentation/start-scriptsession.md +230 -0
- package/dist/tools/powershell/documentation/start-taskschedule.md +124 -0
- package/dist/tools/powershell/documentation/stop-scriptsession.md +78 -0
- package/dist/tools/powershell/documentation/stop-searchindex.md +84 -0
- package/dist/tools/powershell/documentation/suspend-searchindex.md +84 -0
- package/dist/tools/powershell/documentation/switch-rendering.md +248 -0
- package/dist/tools/powershell/documentation/test-account.md +74 -0
- package/dist/tools/powershell/documentation/test-basetemplate.md +97 -0
- package/dist/tools/powershell/documentation/test-itemacl.md +182 -0
- package/dist/tools/powershell/documentation/test-rule.md +111 -0
- package/dist/tools/powershell/documentation/unlock-item.md +124 -0
- package/dist/tools/powershell/documentation/unlock-user.md +84 -0
- package/dist/tools/powershell/documentation/unprotect-item.md +124 -0
- package/dist/tools/powershell/documentation/update-itemreferrer.md +234 -0
- package/dist/tools/powershell/documentation/update-listview.md +139 -0
- package/dist/tools/powershell/documentation/update-searchindexitem.md +79 -0
- package/dist/tools/powershell/documentation/wait-scriptsession.md +100 -0
- package/dist/tools/powershell/documentation/write-log.md +82 -0
- package/dist/tools/powershell/get-powershell-documentation.d.ts +2 -0
- package/dist/tools/powershell/get-powershell-documentation.js +47 -0
- package/dist/tools/powershell/get-powershell-documentation.js.map +1 -0
- package/dist/tools/powershell/run-powershell-script.d.ts +3 -0
- package/dist/tools/powershell/run-powershell-script.js +13 -0
- package/dist/tools/powershell/run-powershell-script.js.map +1 -0
- package/dist/tools/sitecore-cli/get-sitecore-cli-documentation.d.ts +3 -0
- package/dist/tools/sitecore-cli/get-sitecore-cli-documentation.js +24 -0
- package/dist/tools/sitecore-cli/get-sitecore-cli-documentation.js.map +1 -0
- package/dist/tools/sitecore-cli/sitecore-cli-documentation.md +70 -0
- package/package.json +8 -8
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# Get-ItemAcl
|
|
2
|
+
|
|
3
|
+
Retrieves security access rules from an item.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-ItemAcl -Identity <AccountIdentity> -Path <String>
|
|
8
|
+
|
|
9
|
+
Get-ItemAcl -Identity <AccountIdentity> -Id <String> \[-Database <String>\]
|
|
10
|
+
|
|
11
|
+
Get-ItemAcl -Identity <AccountIdentity> -Item <Item>
|
|
12
|
+
|
|
13
|
+
Get-ItemAcl -Filter <String> -Path <String>
|
|
14
|
+
|
|
15
|
+
Get-ItemAcl -Filter <String> -Id <String> \[-Database <String>\]
|
|
16
|
+
|
|
17
|
+
Get-ItemAcl -Filter <String> -Item <Item>
|
|
18
|
+
|
|
19
|
+
Get-ItemAcl -Item <Item>
|
|
20
|
+
|
|
21
|
+
Get-ItemAcl -Path <String>
|
|
22
|
+
|
|
23
|
+
Get-ItemAcl -Id <String>
|
|
24
|
+
|
|
25
|
+
## Detailed Description
|
|
26
|
+
|
|
27
|
+
Retrieves security access rules from an item.
|
|
28
|
+
|
|
29
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
30
|
+
|
|
31
|
+
## Parameters
|
|
32
|
+
|
|
33
|
+
### -Identity <AccountIdentity>
|
|
34
|
+
|
|
35
|
+
User name including domain for which the access rule is being created. If no domain is specified - 'sitecore' will be used as the default domain.
|
|
36
|
+
|
|
37
|
+
Specifies the Sitecore user by providing one of the following values.
|
|
38
|
+
|
|
39
|
+
```powershell
|
|
40
|
+
Local Name
|
|
41
|
+
Example: adam
|
|
42
|
+
Fully Qualified Name
|
|
43
|
+
Example: sitecore\adam
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
| Aliases | |
|
|
47
|
+
| :--- | :--- |
|
|
48
|
+
| Required? | true |
|
|
49
|
+
| Position? | named |
|
|
50
|
+
| Default Value | |
|
|
51
|
+
| Accept Pipeline Input? | false |
|
|
52
|
+
| Accept Wildcard Characters? | false |
|
|
53
|
+
|
|
54
|
+
### -Filter <String>
|
|
55
|
+
|
|
56
|
+
Specifies a simple pattern to match Sitecore roles & users.
|
|
57
|
+
|
|
58
|
+
Examples: The following examples show how to use the filter syntax.
|
|
59
|
+
|
|
60
|
+
To get security for all roles, use the asterisk wildcard: Get-ItemAcl -Filter \*
|
|
61
|
+
|
|
62
|
+
To security got all roles in a domain use the following command: Get-ItemAcl -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
|
+
### -Item <Item>
|
|
73
|
+
|
|
74
|
+
The item from which the security rules should be taken.
|
|
75
|
+
|
|
76
|
+
| Aliases | |
|
|
77
|
+
| :--- | :--- |
|
|
78
|
+
| Required? | true |
|
|
79
|
+
| Position? | named |
|
|
80
|
+
| Default Value | |
|
|
81
|
+
| Accept Pipeline Input? | true \(ByValue\) |
|
|
82
|
+
| Accept Wildcard Characters? | false |
|
|
83
|
+
|
|
84
|
+
### -Path <String>
|
|
85
|
+
|
|
86
|
+
Path to the item from which the security rules should be taken.
|
|
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
|
+
### -Id <String>
|
|
97
|
+
|
|
98
|
+
Id of the item from which the security rules should be taken.
|
|
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
|
+
### -Database <String>
|
|
109
|
+
|
|
110
|
+
Database containing the item to be fetched with Id parameter containing the security rules that should be returned.
|
|
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.Data.Items.Item
|
|
125
|
+
|
|
126
|
+
## Outputs
|
|
127
|
+
|
|
128
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
129
|
+
|
|
130
|
+
* Sitecore.Security.AccessControl.AccessRule
|
|
131
|
+
|
|
132
|
+
## Notes
|
|
133
|
+
|
|
134
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
135
|
+
|
|
136
|
+
## Examples
|
|
137
|
+
|
|
138
|
+
### EXAMPLE 1
|
|
139
|
+
|
|
140
|
+
Take the security information from the Home item and apply it to the Settings item
|
|
141
|
+
|
|
142
|
+
```powershell
|
|
143
|
+
$acl = Get-ItemAcl -Path master:\content\home
|
|
144
|
+
Set-ItemAcl -Path master:\content\Settings -AccessRules $acl -PassThru
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### EXAMPLE 2
|
|
148
|
+
|
|
149
|
+
Take the security information from the Home item and add it to the access rules on the Settings item
|
|
150
|
+
|
|
151
|
+
```powershell
|
|
152
|
+
$acl = Get-ItemAcl -Path master:\content\home
|
|
153
|
+
Add-ItemAcl -Path master:\content\Settings -AccessRules $acl -PassThru
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Related Topics
|
|
157
|
+
|
|
158
|
+
* [Add-ItemAcl](add-itemacl.md)
|
|
159
|
+
* [Clear-ItemAcl](clear-itemacl.md)
|
|
160
|
+
* [Set-ItemAcl](set-itemacl.md)
|
|
161
|
+
* [New-ItemAcl](new-itemacl.md)
|
|
162
|
+
* [Test-ItemAcl](test-itemacl.md)
|
|
163
|
+
* [https://sdn.sitecore.net/upload/sitecore6/security\_administrators\_cookbook\_a4.pdf](https://sdn.sitecore.net/upload/sitecore6/security_administrators_cookbook_a4.pdf)
|
|
164
|
+
* [https://sdn.sitecore.net/upload/sitecore6/61/security\_reference-a4.pdf](https://sdn.sitecore.net/upload/sitecore6/61/security_reference-a4.pdf)
|
|
165
|
+
* [https://sdn.sitecore.net/upload/sitecore6/64/content\_api\_cookbook\_sc64\_and\_later-a4.pdf](https://sdn.sitecore.net/upload/sitecore6/64/content_api_cookbook_sc64_and_later-a4.pdf)
|
|
166
|
+
* [https://www.sitecore.net/learn/blogs/technical-blogs/john-west-sitecore-blog/posts/2013/01/sitecore-security-access-rights.aspx](https://www.sitecore.net/learn/blogs/technical-blogs/john-west-sitecore-blog/posts/2013/01/sitecore-security-access-rights.aspx)
|
|
167
|
+
* [https://briancaos.wordpress.com/2009/10/02/assigning-security-to-items-in-sitecore-6-programatically/](https://briancaos.wordpress.com/2009/10/02/assigning-security-to-items-in-sitecore-6-programatically/)
|
|
168
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Get-ItemClone
|
|
2
|
+
|
|
3
|
+
Returns all the clones for the specified item.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-ItemClone \[-Item\] <Item>
|
|
8
|
+
|
|
9
|
+
Get-ItemClone \[-Path\] <String>
|
|
10
|
+
|
|
11
|
+
Get-ItemClone -Id <String> \[-Database <String>\]
|
|
12
|
+
|
|
13
|
+
## Detailed Description
|
|
14
|
+
|
|
15
|
+
The Get-ItemClone command returns all the clones for the specified item.
|
|
16
|
+
|
|
17
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
### -Item <Item>
|
|
22
|
+
|
|
23
|
+
The item to be analysed for clones presence.
|
|
24
|
+
|
|
25
|
+
| Aliases | |
|
|
26
|
+
| :--- | :--- |
|
|
27
|
+
| Required? | true |
|
|
28
|
+
| Position? | 1 |
|
|
29
|
+
| Default Value | |
|
|
30
|
+
| Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
|
|
31
|
+
| Accept Wildcard Characters? | false |
|
|
32
|
+
|
|
33
|
+
### -Path <String>
|
|
34
|
+
|
|
35
|
+
Path to the item to be analysed for clones presence.
|
|
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
|
+
### -Id <String>
|
|
46
|
+
|
|
47
|
+
Id of the item to be analysed for clones presence.
|
|
48
|
+
|
|
49
|
+
| Aliases | |
|
|
50
|
+
| :--- | :--- |
|
|
51
|
+
| Required? | true |
|
|
52
|
+
| Position? | named |
|
|
53
|
+
| Default Value | |
|
|
54
|
+
| Accept Pipeline Input? | false |
|
|
55
|
+
| Accept Wildcard Characters? | false |
|
|
56
|
+
|
|
57
|
+
### -Database <String>
|
|
58
|
+
|
|
59
|
+
Database containing the item to be processed - if item is being provided through Id.
|
|
60
|
+
|
|
61
|
+
| Aliases | |
|
|
62
|
+
| :--- | :--- |
|
|
63
|
+
| Required? | false |
|
|
64
|
+
| Position? | named |
|
|
65
|
+
| Default Value | |
|
|
66
|
+
| Accept Pipeline Input? | false |
|
|
67
|
+
| Accept Wildcard Characters? | false |
|
|
68
|
+
|
|
69
|
+
## Inputs
|
|
70
|
+
|
|
71
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
72
|
+
|
|
73
|
+
* Sitecore.Data.Items.Item
|
|
74
|
+
|
|
75
|
+
## Outputs
|
|
76
|
+
|
|
77
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
78
|
+
|
|
79
|
+
* Sitecore.Data.Items.Item
|
|
80
|
+
|
|
81
|
+
## Notes
|
|
82
|
+
|
|
83
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
84
|
+
|
|
85
|
+
## Examples
|
|
86
|
+
|
|
87
|
+
### EXAMPLE
|
|
88
|
+
|
|
89
|
+
```powershell
|
|
90
|
+
PS master:\> Get-ItemClone -Path master:\content\home
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Related Topics
|
|
94
|
+
|
|
95
|
+
* [New-ItemClone](new-itemclone.md)
|
|
96
|
+
* [ConvertFrom-ItemClone](convertfrom-itemclone.md)
|
|
97
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
98
|
+
* [https://github.com/SitecorePowerShell/Console/issues/218](https://github.com/SitecorePowerShell/Console/issues/218)
|
|
99
|
+
* Get-Item
|
|
100
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Get-ItemCloneNotification
|
|
2
|
+
|
|
3
|
+
## Syntax
|
|
4
|
+
|
|
5
|
+
```powershell
|
|
6
|
+
Get-ItemCloneNotification [-Item] <Item> [-NotificationType <Notification | ChildCreatedNotification | FieldChangedNotification | FirstVersionAddedNotification | ItemMovedChildCreatedNotification | ItemMovedChildRemovedNotification | ItemMovedNotification | ItemTreeMovedNotification | ItemVersionNotification | OriginalItemChangedTemplateNotification | VersionAddedNotification>] [-Language <String[]>]
|
|
7
|
+
Get-ItemCloneNotification [-Path] <String> [-NotificationType <Notification | ChildCreatedNotification | FieldChangedNotification | FirstVersionAddedNotification | ItemMovedChildCreatedNotification | ItemMovedChildRemovedNotification | ItemMovedNotification | ItemTreeMovedNotification | ItemVersionNotification | OriginalItemChangedTemplateNotification | VersionAddedNotification>] [-Language <String[]>]
|
|
8
|
+
Get-ItemCloneNotification -Id <String> [-Database <String>] [-NotificationType <Notification | ChildCreatedNotification | FieldChangedNotification | FirstVersionAddedNotification | ItemMovedChildCreatedNotification | ItemMovedChildRemovedNotification | ItemMovedNotification | ItemTreeMovedNotification | ItemVersionNotification | OriginalItemChangedTemplateNotification | VersionAddedNotification>] [-Language <String[]>]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Detailed Description
|
|
12
|
+
|
|
13
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
### -NotificationType <NotificationType>
|
|
18
|
+
|
|
19
|
+
| Aliases | |
|
|
20
|
+
| :--- | :--- |
|
|
21
|
+
| Required? | false |
|
|
22
|
+
| Position? | named |
|
|
23
|
+
| Default Value | |
|
|
24
|
+
| Accept Pipeline Input? | false |
|
|
25
|
+
| Accept Wildcard Characters? | false |
|
|
26
|
+
|
|
27
|
+
### -Language <String\[\]>
|
|
28
|
+
|
|
29
|
+
| Aliases | |
|
|
30
|
+
| :--- | :--- |
|
|
31
|
+
| Required? | false |
|
|
32
|
+
| Position? | named |
|
|
33
|
+
| Default Value | |
|
|
34
|
+
| Accept Pipeline Input? | false |
|
|
35
|
+
| Accept Wildcard Characters? | false |
|
|
36
|
+
|
|
37
|
+
### -Item <Item>
|
|
38
|
+
|
|
39
|
+
| Aliases | |
|
|
40
|
+
| :--- | :--- |
|
|
41
|
+
| Required? | true |
|
|
42
|
+
| Position? | 1 |
|
|
43
|
+
| Default Value | |
|
|
44
|
+
| Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
|
|
45
|
+
| Accept Wildcard Characters? | false |
|
|
46
|
+
|
|
47
|
+
### -Path <String>
|
|
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
|
+
| Aliases | |
|
|
60
|
+
| :--- | :--- |
|
|
61
|
+
| Required? | true |
|
|
62
|
+
| Position? | named |
|
|
63
|
+
| Default Value | |
|
|
64
|
+
| Accept Pipeline Input? | false |
|
|
65
|
+
| Accept Wildcard Characters? | false |
|
|
66
|
+
|
|
67
|
+
### -Database <String>
|
|
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
|
+
## Examples
|
|
78
|
+
|
|
79
|
+
### EXAMPLE 1
|
|
80
|
+
|
|
81
|
+
The following gets the cloned `Item` and returns the available notifications.
|
|
82
|
+
|
|
83
|
+
```powershell
|
|
84
|
+
$clonedItem = Get-Item -Path "master:" -ID "{9F158637-52C2-4005-8329-21527685CB71}"
|
|
85
|
+
Get-ItemCloneNotification -Item $clonedItem
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### EXAMPLE 2
|
|
89
|
+
|
|
90
|
+
The following gets the cloned `Item` based on the specified type of notification.
|
|
91
|
+
|
|
92
|
+
```powershell
|
|
93
|
+
$clonedItem = Get-Item -Path "master:" -ID "{9F158637-52C2-4005-8329-21527685CB71}"
|
|
94
|
+
$clonedItem | Get-ItemCloneNotification -NotificationType ItemMovedChildRemovedNotification
|
|
95
|
+
```
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# Get-ItemField
|
|
2
|
+
|
|
3
|
+
Retrieves item fields as either names or fields or template fields.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-ItemField \[-Item\] <Item> \[-IncludeStandardFields\] \[-ReturnType <Name \| Field \| TemplateField>\] \[-Name <String\[\]>\] \[-Language <String\[\]>\]
|
|
8
|
+
|
|
9
|
+
Get-ItemField \[-Path\] <String> \[-IncludeStandardFields\] \[-ReturnType <Name \| Field \| TemplateField>\] \[-Name <String\[\]>\] \[-Language <String\[\]>\]
|
|
10
|
+
|
|
11
|
+
Get-ItemField -Id <String> \[-Database <String>\] \[-IncludeStandardFields\] \[-ReturnType <Name \| Field \| TemplateField>\] \[-Name <String\[\]>\] \[-Language <String\[\]>\]
|
|
12
|
+
|
|
13
|
+
## Detailed Description
|
|
14
|
+
|
|
15
|
+
Retrieves item fields as either names or fields or template fields.
|
|
16
|
+
|
|
17
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
### -IncludeStandardFields <SwitchParameter>
|
|
22
|
+
|
|
23
|
+
Includes fields that are defined on "Standard template"
|
|
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
|
+
### -ReturnType <ReturnValue>
|
|
34
|
+
|
|
35
|
+
Determines type returned. The possible values include:
|
|
36
|
+
|
|
37
|
+
* Name - strings with field names.
|
|
38
|
+
* Field - fields on the item
|
|
39
|
+
* TemplateField - template fields.
|
|
40
|
+
|
|
41
|
+
| Aliases | |
|
|
42
|
+
| :--- | :--- |
|
|
43
|
+
| Required? | false |
|
|
44
|
+
| Position? | named |
|
|
45
|
+
| Default Value | |
|
|
46
|
+
| Accept Pipeline Input? | false |
|
|
47
|
+
| Accept Wildcard Characters? | false |
|
|
48
|
+
|
|
49
|
+
### -Name <String\[\]>
|
|
50
|
+
|
|
51
|
+
Array of names to include - supports wildcards.
|
|
52
|
+
|
|
53
|
+
| Aliases | |
|
|
54
|
+
| :--- | :--- |
|
|
55
|
+
| Required? | false |
|
|
56
|
+
| Position? | named |
|
|
57
|
+
| Default Value | |
|
|
58
|
+
| Accept Pipeline Input? | false |
|
|
59
|
+
| Accept Wildcard Characters? | false |
|
|
60
|
+
|
|
61
|
+
### -Language <String\[\]>
|
|
62
|
+
|
|
63
|
+
Language that will be analysed. If not specified the current user language will be used. Globbing/wildcard supported.
|
|
64
|
+
|
|
65
|
+
| Aliases | |
|
|
66
|
+
| :--- | :--- |
|
|
67
|
+
| Required? | false |
|
|
68
|
+
| Position? | named |
|
|
69
|
+
| Default Value | |
|
|
70
|
+
| Accept Pipeline Input? | false |
|
|
71
|
+
| Accept Wildcard Characters? | false |
|
|
72
|
+
|
|
73
|
+
### -Item <Item>
|
|
74
|
+
|
|
75
|
+
The item to be analysed.
|
|
76
|
+
|
|
77
|
+
| Aliases | |
|
|
78
|
+
| :--- | :--- |
|
|
79
|
+
| Required? | true |
|
|
80
|
+
| Position? | 1 |
|
|
81
|
+
| Default Value | |
|
|
82
|
+
| Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
|
|
83
|
+
| Accept Wildcard Characters? | false |
|
|
84
|
+
|
|
85
|
+
### -Path <String>
|
|
86
|
+
|
|
87
|
+
Path to the item to be analysed.
|
|
88
|
+
|
|
89
|
+
| Aliases | |
|
|
90
|
+
| :--- | :--- |
|
|
91
|
+
| Required? | true |
|
|
92
|
+
| Position? | 1 |
|
|
93
|
+
| Default Value | |
|
|
94
|
+
| Accept Pipeline Input? | false |
|
|
95
|
+
| Accept Wildcard Characters? | false |
|
|
96
|
+
|
|
97
|
+
### -Id <String>
|
|
98
|
+
|
|
99
|
+
Id of the item to be analysed.
|
|
100
|
+
|
|
101
|
+
| Aliases | |
|
|
102
|
+
| :--- | :--- |
|
|
103
|
+
| Required? | true |
|
|
104
|
+
| Position? | named |
|
|
105
|
+
| Default Value | |
|
|
106
|
+
| Accept Pipeline Input? | false |
|
|
107
|
+
| Accept Wildcard Characters? | false |
|
|
108
|
+
|
|
109
|
+
### -Database <String>
|
|
110
|
+
|
|
111
|
+
Database containing the item to be analysed - can work with Language parameter to narrow the publication scope.
|
|
112
|
+
|
|
113
|
+
| Aliases | |
|
|
114
|
+
| :--- | :--- |
|
|
115
|
+
| Required? | false |
|
|
116
|
+
| Position? | named |
|
|
117
|
+
| Default Value | |
|
|
118
|
+
| Accept Pipeline Input? | false |
|
|
119
|
+
| Accept Wildcard Characters? | false |
|
|
120
|
+
|
|
121
|
+
## Inputs
|
|
122
|
+
|
|
123
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
124
|
+
|
|
125
|
+
* Sitecore.Data.Items.Item
|
|
126
|
+
|
|
127
|
+
## Outputs
|
|
128
|
+
|
|
129
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
130
|
+
|
|
131
|
+
* Sitecore.Data.Items.Item
|
|
132
|
+
|
|
133
|
+
Sitecore.Data.Templates.TemplateField
|
|
134
|
+
|
|
135
|
+
Sitecore.Data.Fields.Field
|
|
136
|
+
|
|
137
|
+
## Notes
|
|
138
|
+
|
|
139
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
140
|
+
|
|
141
|
+
## Examples
|
|
142
|
+
|
|
143
|
+
### EXAMPLE 1
|
|
144
|
+
|
|
145
|
+
Get list of names of non standard fields from /sitecore/content/home item
|
|
146
|
+
|
|
147
|
+
```powershell
|
|
148
|
+
PS master:\> Get-ItemField -Path master:\content\home
|
|
149
|
+
|
|
150
|
+
Text
|
|
151
|
+
Title
|
|
152
|
+
Image
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### EXAMPLE 2
|
|
156
|
+
|
|
157
|
+
Get list of fields including standard fields from /sitecore/content/home item and list their Name, DisplayName, SectionDisplayName and Description in a table.
|
|
158
|
+
|
|
159
|
+
```powershell
|
|
160
|
+
PS master:\> Get-Item master:\content\home | Get-ItemField -IncludeStandardFields -ReturnType Field -Name "*" | ft Name, DisplayName, SectionDisplayName, Description -auto
|
|
161
|
+
|
|
162
|
+
Name DisplayName SectionDisplayName Description
|
|
163
|
+
---- ----------- ------------------ -----------
|
|
164
|
+
__Revision Revision Statistics
|
|
165
|
+
__Standard values __Standard values Advanced
|
|
166
|
+
__Updated by Updated by Statistics
|
|
167
|
+
__Validate Button Validation Rules Validation Button Validation Rules Validation Rules
|
|
168
|
+
__Created Created Statistics
|
|
169
|
+
__Thumbnail Thumbnail Appearance
|
|
170
|
+
__Insert Rules Insert Rules Insert Options
|
|
171
|
+
__Short description Short description Help
|
|
172
|
+
__Created by Created by Statistics
|
|
173
|
+
__Presets Presets Layout
|
|
174
|
+
Text Text Data The text is the main content of the document.
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
## Related Topics
|
|
178
|
+
|
|
179
|
+
* [Get-ItemTemplate](get-itemtemplate.md)
|
|
180
|
+
* [Reset-ItemField](reset-itemfield.md)
|
|
181
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
182
|
+
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# Get-ItemReference
|
|
2
|
+
|
|
3
|
+
Returns all the items linked to the specified item..
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-ItemReference -Item <Item>
|
|
8
|
+
|
|
9
|
+
Get-ItemReference -Item <Item> -ItemLink
|
|
10
|
+
|
|
11
|
+
Get-ItemReference -Path <String> \[-Language <String\[\]>\]
|
|
12
|
+
|
|
13
|
+
Get-ItemReference -Path <String> \[-Language <String\[\]>\] -ItemLink
|
|
14
|
+
|
|
15
|
+
Get-ItemReference -Id <String> \[-Database <String>\] \[-Language <String\[\]>\]
|
|
16
|
+
|
|
17
|
+
Get-ItemReference -Id <String> \[-Database <String>\] \[-Language <String\[\]>\] -ItemLink
|
|
18
|
+
|
|
19
|
+
## Detailed Description
|
|
20
|
+
|
|
21
|
+
The Get-ItemReference command returns all items linked 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\) |
|
|
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 that are being linked to from 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-ItemReference -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
|
+
Home True {en, de-DE, es-ES, pt... {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9} Sample Item
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### EXAMPLE 2
|
|
131
|
+
|
|
132
|
+
```powershell
|
|
133
|
+
PS master:\>Get-Item master:\content\home | Get-ItemReference -ItemLink
|
|
134
|
+
|
|
135
|
+
SourceItemLanguage : en
|
|
136
|
+
SourceItemVersion : 1
|
|
137
|
+
TargetItemLanguage :
|
|
138
|
+
TargetItemVersion : 0
|
|
139
|
+
SourceDatabaseName : master
|
|
140
|
+
SourceFieldID : {F685964D-02E1-4DB6-A0A2-BFA59F5F9806}
|
|
141
|
+
SourceItemID : {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}
|
|
142
|
+
TargetDatabaseName : master
|
|
143
|
+
TargetItemID : {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}
|
|
144
|
+
TargetPath : /sitecore/content/Home
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
## Related Topics
|
|
148
|
+
|
|
149
|
+
* [Get-ItemReferrer](get-itemreferrer.md)
|
|
150
|
+
* [Update-ItemReferrer](update-itemreferrer.md)
|
|
151
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
152
|
+
|