@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,136 @@
|
|
|
1
|
+
# Get-TaskSchedule
|
|
2
|
+
|
|
3
|
+
Returns one or more task schedule items using the specified criteria.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-TaskSchedule -Item <Item>
|
|
8
|
+
|
|
9
|
+
Get-TaskSchedule -Path <String>
|
|
10
|
+
|
|
11
|
+
Get-TaskSchedule \[\[-Database\] <Database>\] \[\[-Name\] <String>\]
|
|
12
|
+
|
|
13
|
+
## Detailed Description
|
|
14
|
+
|
|
15
|
+
The Get-TaskSchedule command returns one or more task schedule items, based on name/database filter, path or simply converting a Sitecore item.
|
|
16
|
+
|
|
17
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
### -Item <Item>
|
|
22
|
+
|
|
23
|
+
Task item to be converted.
|
|
24
|
+
|
|
25
|
+
| Aliases | |
|
|
26
|
+
| :--- | :--- |
|
|
27
|
+
| Required? | true |
|
|
28
|
+
| Position? | named |
|
|
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 returned as Task Schedule.
|
|
36
|
+
|
|
37
|
+
| Aliases | |
|
|
38
|
+
| :--- | :--- |
|
|
39
|
+
| Required? | true |
|
|
40
|
+
| Position? | named |
|
|
41
|
+
| Default Value | |
|
|
42
|
+
| Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
|
|
43
|
+
| Accept Wildcard Characters? | false |
|
|
44
|
+
|
|
45
|
+
### -Database <Database>
|
|
46
|
+
|
|
47
|
+
Database containing the task items to be returned. If not provided all databases will be considered for filtering using the "Name" parameter.
|
|
48
|
+
|
|
49
|
+
| Aliases | |
|
|
50
|
+
| :--- | :--- |
|
|
51
|
+
| Required? | false |
|
|
52
|
+
| Position? | 2 |
|
|
53
|
+
| Default Value | |
|
|
54
|
+
| Accept Pipeline Input? | true \(ByValue\) |
|
|
55
|
+
| Accept Wildcard Characters? | false |
|
|
56
|
+
|
|
57
|
+
### -Name <String>
|
|
58
|
+
|
|
59
|
+
Task filter - supports wildcards. Works with "Database" parameter to narrow tassk to only single database.
|
|
60
|
+
|
|
61
|
+
| Aliases | |
|
|
62
|
+
| :--- | :--- |
|
|
63
|
+
| Required? | false |
|
|
64
|
+
| Position? | 1 |
|
|
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.Tasks.ScheduleItem
|
|
80
|
+
|
|
81
|
+
## Notes
|
|
82
|
+
|
|
83
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
84
|
+
|
|
85
|
+
## Examples
|
|
86
|
+
|
|
87
|
+
### EXAMPLE 1
|
|
88
|
+
|
|
89
|
+
```powershell
|
|
90
|
+
PS master:\> Get-TaskSchedule
|
|
91
|
+
Name Database Active Auto Remove Is Due Expired Completed Last Run Next Run
|
|
92
|
+
---- -------- ------ ----------- ------ ------- --------- -------- --------
|
|
93
|
+
__Task Schedule master True False True False False 0001-01-01 00:00:00 0001-01-01 00:00:00
|
|
94
|
+
Check Bounced Messages master True False False False False 2014-07-29 10:18:43 2014-07-29 22:48:43
|
|
95
|
+
Check DSN Messages master True False False False False 2014-07-29 10:19:18 2014-07-29 22:49:18
|
|
96
|
+
Clean Confirmation IDs master True False False False False 2014-07-28 22:14:30 2014-07-31 02:14:30
|
|
97
|
+
Clean Message History master True False False False False 2014-07-29 10:19:18 2014-07-29 22:49:18
|
|
98
|
+
Close Outdated Connections master True False False False False 2014-07-29 12:30:22 2014-07-29 13:30:22
|
|
99
|
+
Test-PowerShell master True False False False False 2014-07-28 14:30:06 2014-08-01 17:32:07
|
|
100
|
+
__Task Schedule web True False True False False 0001-01-01 00:00:00 0001-01-01 00:00:00
|
|
101
|
+
Check Bounced Messages web True False True False False 2013-11-04 08:36:22 2013-11-04 21:06:22
|
|
102
|
+
Check DSN Messages web True False True False False 2013-11-04 08:36:22 2013-11-04 21:06:22
|
|
103
|
+
Clean Confirmation IDs web True False False False False 2013-11-04 08:36:22 2013-11-04 21:36:22
|
|
104
|
+
Clean Message History web True False True False False 2013-11-04 08:36:22 2013-11-04 21:06:22
|
|
105
|
+
Close Outdated Connections web True False True False False 2013-11-04 09:36:23 2013-11-04 10:36:23
|
|
106
|
+
Test-PowerShell web True False True False False 2013-11-04 09:46:29 2013-11-04 09:46:30
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### EXAMPLE 2
|
|
110
|
+
|
|
111
|
+
```powershell
|
|
112
|
+
PS master:\> Get-TaskSchedule -Name "*Check*"
|
|
113
|
+
Name Database Active Auto Remove Is Due Expired Completed Last Run Next Run
|
|
114
|
+
---- -------- ------ ----------- ------ ------- --------- -------- --------
|
|
115
|
+
Check Bounced Messages master True False False False False 2014-07-29 10:18:43 2014-07-29 22:48:43
|
|
116
|
+
Check DSN Messages master True False False False False 2014-07-29 10:19:18 2014-07-29 22:49:18
|
|
117
|
+
Check Bounced Messages web True False True False False 2013-11-04 08:36:22 2013-11-04 21:06:22
|
|
118
|
+
Check DSN Messages web True False True False False 2013-11-04 08:36:22 2013-11-04 21:06:22
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### EXAMPLE 3
|
|
122
|
+
|
|
123
|
+
```powershell
|
|
124
|
+
PS master:\> Get-TaskSchedule -Name "*Check*" -Database "master"
|
|
125
|
+
Name Database Active Auto Remove Is Due Expired Completed Last Run Next Run
|
|
126
|
+
---- -------- ------ ----------- ------ ------- --------- -------- --------
|
|
127
|
+
Check Bounced Messages master True False False False False 2014-07-29 10:18:43 2014-07-29 22:48:43
|
|
128
|
+
Check DSN Messages master True False False False False 2014-07-29 10:19:18 2014-07-29 22:49:18
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## Related Topics
|
|
132
|
+
|
|
133
|
+
* [Start-TaskSchedule](start-taskschedule.md)
|
|
134
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
135
|
+
* [https://www.youtube.com/watch?v=N3xgZcU9FqQ&list=PLph7ZchYd\_nCypVZSNkudGwPFRqf1na0b&index=9](https://www.youtube.com/watch?v=N3xgZcU9FqQ&list=PLph7ZchYd_nCypVZSNkudGwPFRqf1na0b&index=9)
|
|
136
|
+
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# Get-UpdatePackageDiff
|
|
2
|
+
|
|
3
|
+
Performs a diff operation between the Source and taget path akin to Sitecore Courier. The diff is the difference that takes the content of Source folder and transforms it to Target. IMPORTANT! This functionality requires changes to web.config file on your sitecore server to work. Please consult the first Example.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-UpdatePackageDiff \[-SourcePath\] <String> \[\[-TargetPath\] <String>\]
|
|
8
|
+
|
|
9
|
+
## Detailed Description
|
|
10
|
+
|
|
11
|
+
Performs a diff operation between the Source and taget path akin to Sitecore Courier. The diff is the difference that takes the content of Source folder and transforms it to Target. IMPORTANT! This functionality requires changes to web.config file on your sitecore server to work. Please consult the first Example.
|
|
12
|
+
|
|
13
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
### -SourcePath <String>
|
|
18
|
+
|
|
19
|
+
Path containing the current serialization items that needs to be transformed into Target.
|
|
20
|
+
|
|
21
|
+
| Aliases | |
|
|
22
|
+
| :--- | :--- |
|
|
23
|
+
| Required? | true |
|
|
24
|
+
| Position? | 1 |
|
|
25
|
+
| Default Value | |
|
|
26
|
+
| Accept Pipeline Input? | false |
|
|
27
|
+
| Accept Wildcard Characters? | false |
|
|
28
|
+
|
|
29
|
+
### -TargetPath <String>
|
|
30
|
+
|
|
31
|
+
Path containing the desired serialization state that the Source needs to be transformed to.
|
|
32
|
+
|
|
33
|
+
| Aliases | |
|
|
34
|
+
| :--- | :--- |
|
|
35
|
+
| Required? | false |
|
|
36
|
+
| Position? | 1 |
|
|
37
|
+
| Default Value | |
|
|
38
|
+
| Accept Pipeline Input? | false |
|
|
39
|
+
| Accept Wildcard Characters? | false |
|
|
40
|
+
|
|
41
|
+
## Outputs
|
|
42
|
+
|
|
43
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
44
|
+
|
|
45
|
+
* Sitecore.Update.Interfaces.ICommand
|
|
46
|
+
|
|
47
|
+
## Notes
|
|
48
|
+
|
|
49
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
50
|
+
|
|
51
|
+
## Examples
|
|
52
|
+
|
|
53
|
+
### EXAMPLE 1
|
|
54
|
+
|
|
55
|
+
Required addition to web.config file for the functionality to work:
|
|
56
|
+
|
|
57
|
+
```powershell
|
|
58
|
+
<configuration>
|
|
59
|
+
<configSections>
|
|
60
|
+
<section name="sitecorediff" type="Sitecore.Update.Configuration.ConfigReader, Sitecore.Update"/>
|
|
61
|
+
</configSections>
|
|
62
|
+
<sitecorediff>
|
|
63
|
+
<commandfilters>
|
|
64
|
+
<filter id="changedFieldsFilter" mode="on" type="Sitecore.Update.Commands.Filters.ChangedFieldsFilter, Sitecore.Update">
|
|
65
|
+
<fields hint="list">
|
|
66
|
+
<field>__Created</field>
|
|
67
|
+
<field>{5DD74568-4D4B-44C1-B513-0AF5F4CDA34F}</field>
|
|
68
|
+
<field>__Revision</field>
|
|
69
|
+
<field>__Updated</field>
|
|
70
|
+
<field>__Updated by</field>
|
|
71
|
+
</fields>
|
|
72
|
+
</filter>
|
|
73
|
+
</commandfilters>
|
|
74
|
+
<dataproviders>
|
|
75
|
+
<dataprovider id="filesystemmain" type="Sitecore.Update.Data.Providers.FileSystemProvider, Sitecore.Update">
|
|
76
|
+
<param>$(id)</param>
|
|
77
|
+
</dataprovider>
|
|
78
|
+
<dataprovider id="snapshotprovider" type="Sitecore.Update.Data.Providers.SnapShotProvider, Sitecore.Update">
|
|
79
|
+
<param>$(id)</param>
|
|
80
|
+
</dataprovider>
|
|
81
|
+
</dataproviders>
|
|
82
|
+
|
|
83
|
+
<source type="Sitecore.Update.Data.DataManager, Sitecore.Update">
|
|
84
|
+
<param>source</param>
|
|
85
|
+
</source>
|
|
86
|
+
|
|
87
|
+
<target type="Sitecore.Update.Data.DataManager, Sitecore.Update">
|
|
88
|
+
<param>target</param>
|
|
89
|
+
</target>
|
|
90
|
+
</sitecorediff>
|
|
91
|
+
</configuration>
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### EXAMPLE 2
|
|
95
|
+
|
|
96
|
+
Create an update package that transforms the serialized database state defined in C:\temp\SerializationSource into into set defined in C:\temp\SerializationTarget
|
|
97
|
+
|
|
98
|
+
```powershell
|
|
99
|
+
$diff = Get-UpdatePackageDiff -SourcePath C:\temp\SerializationSource -TargetPath C:\temp\SerializationTarget
|
|
100
|
+
Export-UpdatePackage -Path C:\temp\SerializationDiff.update -CommandList $diff -Name name
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Related Topics
|
|
104
|
+
|
|
105
|
+
* [Export-UpdatePackage](export-updatepackage.md)
|
|
106
|
+
* [Install-UpdatePackage](install-updatepackage.md)
|
|
107
|
+
* [https://sitecoresnippets.blogspot.com/2012/10/sitecore-courier-effortless-packaging.html](https://sitecoresnippets.blogspot.com/2012/10/sitecore-courier-effortless-packaging.html)
|
|
108
|
+
* [https://github.com/adoprog/Sitecore-Courier](https://github.com/adoprog/Sitecore-Courier)
|
|
109
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
110
|
+
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# Get-User
|
|
2
|
+
|
|
3
|
+
Returns one or more Sitecore users using the specified criteria.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Get-User [-Identity] <AccountIdentity> [-Authenticated]
|
|
9
|
+
Get-User -Filter <String> [-Authenticated] [-ResultPageSize <Int32>]
|
|
10
|
+
Get-User -Current
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Detailed Description
|
|
14
|
+
|
|
15
|
+
The Get-User command returns a user or performs a search to retrieve multiple users from Sitecore.
|
|
16
|
+
|
|
17
|
+
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>.
|
|
18
|
+
|
|
19
|
+
To search for and retrieve more than one user, use the Filter parameter.
|
|
20
|
+
|
|
21
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
22
|
+
|
|
23
|
+
## Parameters
|
|
24
|
+
|
|
25
|
+
### -Identity <AccountIdentity>
|
|
26
|
+
|
|
27
|
+
Specifies the Sitecore user by providing one of the following values.
|
|
28
|
+
|
|
29
|
+
Local Name:
|
|
30
|
+
|
|
31
|
+
```powershell
|
|
32
|
+
admin
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Fully Qualified Name:
|
|
36
|
+
|
|
37
|
+
```powershell
|
|
38
|
+
sitecore\admin
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
| Aliases | |
|
|
42
|
+
| :--- | :--- |
|
|
43
|
+
| Required? | true |
|
|
44
|
+
| Position? | 1 |
|
|
45
|
+
| Default Value | |
|
|
46
|
+
| Accept Pipeline Input? | true \(ByValue\) |
|
|
47
|
+
| Accept Wildcard Characters? | false |
|
|
48
|
+
|
|
49
|
+
### -Filter <String>
|
|
50
|
+
|
|
51
|
+
Specifies a simple pattern to match Sitecore users.
|
|
52
|
+
|
|
53
|
+
Examples: The following examples show how to use the filter syntax.
|
|
54
|
+
|
|
55
|
+
To get all the users, use the asterisk wildcard:
|
|
56
|
+
|
|
57
|
+
```powershell
|
|
58
|
+
Get-User -Filter *
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
To get all the users in a domain use the following command:
|
|
62
|
+
|
|
63
|
+
```powershell
|
|
64
|
+
Get-User -Filter "sitecore\*"
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
| Aliases | |
|
|
68
|
+
| :--- | :--- |
|
|
69
|
+
| Required? | true |
|
|
70
|
+
| Position? | named |
|
|
71
|
+
| Default Value | |
|
|
72
|
+
| Accept Pipeline Input? | false |
|
|
73
|
+
| Accept Wildcard Characters? | false |
|
|
74
|
+
|
|
75
|
+
### -Current <SwitchParameter>
|
|
76
|
+
|
|
77
|
+
| Aliases | |
|
|
78
|
+
| :--- | :--- |
|
|
79
|
+
| Required? | true |
|
|
80
|
+
| Position? | named |
|
|
81
|
+
| Default Value | |
|
|
82
|
+
| Accept Pipeline Input? | false |
|
|
83
|
+
| Accept Wildcard Characters? | false |
|
|
84
|
+
|
|
85
|
+
### -Authenticated <SwitchParameter>
|
|
86
|
+
|
|
87
|
+
| Aliases | |
|
|
88
|
+
| :--- | :--- |
|
|
89
|
+
| Required? | false |
|
|
90
|
+
| Position? | named |
|
|
91
|
+
| Default Value | |
|
|
92
|
+
| Accept Pipeline Input? | false |
|
|
93
|
+
| Accept Wildcard Characters? | false |
|
|
94
|
+
|
|
95
|
+
### -ResultPageSize <Int32>
|
|
96
|
+
|
|
97
|
+
Specifies the number of users to retrieve per request to the user provider. Each page of users is written to the pipeline before the next request is made. Without specifying this parameter all accounts are retrieved before passing down the pipeline.
|
|
98
|
+
|
|
99
|
+
| Aliases | |
|
|
100
|
+
| :--- | :--- |
|
|
101
|
+
| Required? | false |
|
|
102
|
+
| Position? | named |
|
|
103
|
+
| Default Value | |
|
|
104
|
+
| Accept Pipeline Input? | false |
|
|
105
|
+
| Accept Wildcard Characters? | false |
|
|
106
|
+
|
|
107
|
+
## Inputs
|
|
108
|
+
|
|
109
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
110
|
+
|
|
111
|
+
* System.String
|
|
112
|
+
|
|
113
|
+
Represents the identity of a user.
|
|
114
|
+
|
|
115
|
+
## Outputs
|
|
116
|
+
|
|
117
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
118
|
+
|
|
119
|
+
* Sitecore.Security.Accounts.User
|
|
120
|
+
|
|
121
|
+
Returns one or more users.
|
|
122
|
+
|
|
123
|
+
## Notes
|
|
124
|
+
|
|
125
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
126
|
+
|
|
127
|
+
## Examples
|
|
128
|
+
|
|
129
|
+
### EXAMPLE 1
|
|
130
|
+
|
|
131
|
+
```powershell
|
|
132
|
+
PS master:\> Get-User -Identity admin
|
|
133
|
+
|
|
134
|
+
Name Domain IsAdministrator IsAuthenticated
|
|
135
|
+
---- ------ --------------- ---------------
|
|
136
|
+
sitecore\admin sitecore True False
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### EXAMPLE 2
|
|
140
|
+
|
|
141
|
+
```powershell
|
|
142
|
+
PS master:\> "admin","michael" | Get-User
|
|
143
|
+
|
|
144
|
+
Name Domain IsAdministrator IsAuthenticated
|
|
145
|
+
---- ------ --------------- ---------------
|
|
146
|
+
sitecore\Admin sitecore True False
|
|
147
|
+
sitecore\michael sitecore False False
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### EXAMPLE 3
|
|
151
|
+
|
|
152
|
+
```powershell
|
|
153
|
+
PS master:\> Get-User -Filter *
|
|
154
|
+
|
|
155
|
+
Name Domain IsAdministrator IsAuthenticated
|
|
156
|
+
---- ------ --------------- ---------------
|
|
157
|
+
default\Anonymous default False False
|
|
158
|
+
extranet\Anonymous extranet False False
|
|
159
|
+
sitecore\Admin sitecore True False
|
|
160
|
+
sitecore\michael sitecore False False
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### EXAMPLE 4
|
|
164
|
+
|
|
165
|
+
```powershell
|
|
166
|
+
PS master:\> Get-User -Filter "michaellwest@*.com"
|
|
167
|
+
|
|
168
|
+
Name Domain IsAdministrator IsAuthenticated
|
|
169
|
+
---- ------ --------------- ---------------
|
|
170
|
+
sitecore\michael sitecore False False
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
### EXAMPLE 5
|
|
174
|
+
|
|
175
|
+
Expand the MemberOf property to see a list of roles that the specified user is a member.
|
|
176
|
+
|
|
177
|
+
```powershell
|
|
178
|
+
PS master:\> Get-User -Identity sitecore\michael | Select-Object -ExpandProperty MemberOf
|
|
179
|
+
|
|
180
|
+
Name Domain IsEveryone
|
|
181
|
+
---- ------ ----------
|
|
182
|
+
sitecore\PowerShell Extensions Remoting sitecore False
|
|
183
|
+
sitecore\Developer sitecore False
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
## Related Topics
|
|
187
|
+
|
|
188
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
189
|
+
* [Set-User](set-user.md)
|
|
190
|
+
* [New-User](new-user.md)
|
|
191
|
+
* [Remove-User](remove-user.md)
|
|
192
|
+
* [Unlock-User](unlock-user.md)
|
|
193
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Get-UserAgent
|
|
2
|
+
|
|
3
|
+
Returns the current user's browser user agent.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
## Detailed Description
|
|
8
|
+
|
|
9
|
+
Returns current user's browser user agent. Works only if Console is running outside of job. \(e.g. in ISE - script needs to be run from the dropdown under the "Execute" button\)
|
|
10
|
+
|
|
11
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
12
|
+
|
|
13
|
+
## Parameters
|
|
14
|
+
|
|
15
|
+
## Outputs
|
|
16
|
+
|
|
17
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
18
|
+
|
|
19
|
+
* System.String
|
|
20
|
+
|
|
21
|
+
## Notes
|
|
22
|
+
|
|
23
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
|
|
27
|
+
### EXAMPLE
|
|
28
|
+
|
|
29
|
+
```powershell
|
|
30
|
+
PS master:\> Get-UserAgent
|
|
31
|
+
|
|
32
|
+
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Related Topics
|
|
36
|
+
|
|
37
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
38
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Import-Function
|
|
2
|
+
|
|
3
|
+
Imports a function script from the script library's "Functions" folder.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Import-Function \[-Name\] <String> \[-Library <String>\] \[-Module <String>\]
|
|
8
|
+
|
|
9
|
+
## Detailed Description
|
|
10
|
+
|
|
11
|
+
The Import-Function command imports a function script from the script library's "Functions" folder.
|
|
12
|
+
|
|
13
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
### -Name <String>
|
|
18
|
+
|
|
19
|
+
Name of the script in the "Functions" library or one of its sub-libraries.
|
|
20
|
+
|
|
21
|
+
| Aliases | |
|
|
22
|
+
| :--- | :--- |
|
|
23
|
+
| Required? | true |
|
|
24
|
+
| Position? | 1 |
|
|
25
|
+
| Default Value | |
|
|
26
|
+
| Accept Pipeline Input? | false |
|
|
27
|
+
| Accept Wildcard Characters? | false |
|
|
28
|
+
|
|
29
|
+
### -Library <String>
|
|
30
|
+
|
|
31
|
+
Name of the library withing the "Functions" library. Provide this name to disambiguate a script from other scripts of the same name that might exist in multiple sub-librarties of the Functions library.
|
|
32
|
+
|
|
33
|
+
| Aliases | |
|
|
34
|
+
| :--- | :--- |
|
|
35
|
+
| Required? | false |
|
|
36
|
+
| Position? | named |
|
|
37
|
+
| Default Value | |
|
|
38
|
+
| Accept Pipeline Input? | false |
|
|
39
|
+
| Accept Wildcard Characters? | false |
|
|
40
|
+
|
|
41
|
+
### -Module <String>
|
|
42
|
+
|
|
43
|
+
Name of the module "Functions" are going to be taken from. Provide this name to disambiguate a script from other scripts of the same name that might exist in multiple Modules.
|
|
44
|
+
|
|
45
|
+
| Aliases | |
|
|
46
|
+
| :--- | :--- |
|
|
47
|
+
| Required? | false |
|
|
48
|
+
| Position? | named |
|
|
49
|
+
| Default Value | |
|
|
50
|
+
| Accept Pipeline Input? | false |
|
|
51
|
+
| Accept Wildcard Characters? | false |
|
|
52
|
+
|
|
53
|
+
## Inputs
|
|
54
|
+
|
|
55
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
56
|
+
|
|
57
|
+
* Sitecore.Data.Items.Item
|
|
58
|
+
|
|
59
|
+
## Outputs
|
|
60
|
+
|
|
61
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
62
|
+
|
|
63
|
+
* System.Object
|
|
64
|
+
|
|
65
|
+
## Notes
|
|
66
|
+
|
|
67
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
68
|
+
|
|
69
|
+
## Examples
|
|
70
|
+
|
|
71
|
+
### EXAMPLE
|
|
72
|
+
|
|
73
|
+
The following imports a Resolve-Error function that you may later use to get a deeper understanding of a problem with script should one occur by xecuting the "Resolve-Error" command that was imported as a result of the execution of the following line
|
|
74
|
+
|
|
75
|
+
```powershell
|
|
76
|
+
PS master:\> Import-Function -Name Resolve-Error
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Related Topics
|
|
80
|
+
|
|
81
|
+
* [Invoke-Script](invoke-script.md)
|
|
82
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
83
|
+
|