@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,128 @@
|
|
|
1
|
+
# Get-ScriptSession
|
|
2
|
+
|
|
3
|
+
Returns the list of PowerShell Extensions script sessions running in the system.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-ScriptSession -Current \[-SessionType <String\[\]>\] \[-State <None \| Available \| AvailableForNestedCommand \| Busy \| RemoteDebug>\]
|
|
8
|
+
|
|
9
|
+
Get-ScriptSession -Id <String\[\]> \[-SessionType <String\[\]>\] \[-State <None \| Available \| AvailableForNestedCommand \| Busy \| RemoteDebug>\]
|
|
10
|
+
|
|
11
|
+
Get-ScriptSession -Session <ScriptSession\[\]> \[-SessionType <String\[\]>\] \[-State <None \| Available \| AvailableForNestedCommand \| Busy \| RemoteDebug>\]
|
|
12
|
+
|
|
13
|
+
## Detailed Description
|
|
14
|
+
|
|
15
|
+
The Get-ScriptSession command returns the list of PowerShell Extensions script sessions running in the system. To find all script sessions, running in the system type "Get-ScriptSession" without parameters.
|
|
16
|
+
|
|
17
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
### -Current <SwitchParameter>
|
|
22
|
+
|
|
23
|
+
Returns current script session if the session is run in a background job.
|
|
24
|
+
|
|
25
|
+
| Aliases | |
|
|
26
|
+
| :--- | :--- |
|
|
27
|
+
| Required? | true |
|
|
28
|
+
| Position? | named |
|
|
29
|
+
| Default Value | |
|
|
30
|
+
| Accept Pipeline Input? | false |
|
|
31
|
+
| Accept Wildcard Characters? | false |
|
|
32
|
+
|
|
33
|
+
### -SessionType <String\[\]>
|
|
34
|
+
|
|
35
|
+
Type of the script session to be retrieved. The SessionType is a string that identifies where the session has been launched. You can type one or more session types \(separated by commas\) and use wildcards to filter. To find currently running types of a script session, type "Get-ScriptSession" without parameters.
|
|
36
|
+
|
|
37
|
+
| Aliases | |
|
|
38
|
+
| :--- | :--- |
|
|
39
|
+
| Required? | false |
|
|
40
|
+
| Position? | named |
|
|
41
|
+
| Default Value | |
|
|
42
|
+
| Accept Pipeline Input? | false |
|
|
43
|
+
| Accept Wildcard Characters? | false |
|
|
44
|
+
|
|
45
|
+
### -State <RunspaceAvailability>
|
|
46
|
+
|
|
47
|
+
Type of the script session to be retrieved. The parameter limits script sessions to be returned to only those in a specific state, the values should be "Busy" or "Available". To find states of currently running script sessions, type "Get-ScriptSession" without parameters.
|
|
48
|
+
|
|
49
|
+
| Aliases | |
|
|
50
|
+
| :--- | :--- |
|
|
51
|
+
| Required? | false |
|
|
52
|
+
| Position? | named |
|
|
53
|
+
| Default Value | |
|
|
54
|
+
| Accept Pipeline Input? | false |
|
|
55
|
+
| Accept Wildcard Characters? | false |
|
|
56
|
+
|
|
57
|
+
### -Id <String\[\]>
|
|
58
|
+
|
|
59
|
+
Gets the script session with the specified IDs. The ID is a string that uniquely identifies the script session within the server. You can type one or more IDs \(separated by commas\). To find the ID of a script session, type "Get-ScriptSession" without parameters.
|
|
60
|
+
|
|
61
|
+
| Aliases | |
|
|
62
|
+
| :--- | :--- |
|
|
63
|
+
| Required? | true |
|
|
64
|
+
| Position? | named |
|
|
65
|
+
| Default Value | |
|
|
66
|
+
| Accept Pipeline Input? | true \(ByValue\) |
|
|
67
|
+
| Accept Wildcard Characters? | false |
|
|
68
|
+
|
|
69
|
+
### -Session <ScriptSession\[\]>
|
|
70
|
+
|
|
71
|
+
| Aliases | |
|
|
72
|
+
| :--- | :--- |
|
|
73
|
+
| Required? | true |
|
|
74
|
+
| Position? | named |
|
|
75
|
+
| Default Value | |
|
|
76
|
+
| Accept Pipeline Input? | true \(ByValue\) |
|
|
77
|
+
| Accept Wildcard Characters? | false |
|
|
78
|
+
|
|
79
|
+
## Inputs
|
|
80
|
+
|
|
81
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
82
|
+
|
|
83
|
+
* None
|
|
84
|
+
|
|
85
|
+
## Outputs
|
|
86
|
+
|
|
87
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
88
|
+
|
|
89
|
+
* Spe.Core.Host.ScriptSession
|
|
90
|
+
|
|
91
|
+
## Notes
|
|
92
|
+
|
|
93
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
94
|
+
|
|
95
|
+
## Examples
|
|
96
|
+
|
|
97
|
+
### EXAMPLE 1
|
|
98
|
+
|
|
99
|
+
```powershell
|
|
100
|
+
PS master:\>Get-ScriptSession
|
|
101
|
+
|
|
102
|
+
Type Key Location Auto Disposed
|
|
103
|
+
---- --- -------- -------------
|
|
104
|
+
Console $scriptSession$|zwlyrcmmzwisv22djsv0ej2a|8d5c3e63-3fed-0532-e7c5-761760567b83 False
|
|
105
|
+
Context $scriptSession$|zwlyrcmmzwisv22djsv0ej2a|renderingCopySession master:\content\Home False
|
|
106
|
+
Context $scriptSession$|zwlyrcmmzwisv22djsv0ej2a|packageBuilder master:\content\Home False
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### EXAMPLE 2
|
|
110
|
+
|
|
111
|
+
```powershell
|
|
112
|
+
PS master:\>Get-ScriptSession -Current
|
|
113
|
+
|
|
114
|
+
Type Key Location Auto Disposed
|
|
115
|
+
---- --- -------- -------------
|
|
116
|
+
Console $scriptSession$|zwlyrcmmzwisv22djsv0ej2a|8d5c3e63-3fed-0532-e7c5-761760567b83 False
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Related Topics
|
|
120
|
+
|
|
121
|
+
* [Receive-ScriptSession](receive-scriptsession.md)
|
|
122
|
+
* [Remove-ScriptSession](remove-scriptsession.md)
|
|
123
|
+
* [Start-ScriptSession](start-scriptsession.md)
|
|
124
|
+
* [Stop-ScriptSession](stop-scriptsession.md)
|
|
125
|
+
* [Wait-ScriptSession](wait-scriptsession.md)
|
|
126
|
+
* [https://git.io/spe](https://git.io/spe)
|
|
127
|
+
* [https://blog.najmanowicz.com/2014/10/26/sitecore-powershell-extensions-persistent-sessions/](https://blog.najmanowicz.com/2014/10/26/sitecore-powershell-extensions-persistent-sessions/)
|
|
128
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Get-SearchIndex
|
|
2
|
+
|
|
3
|
+
Returns the available Sitecore indexes.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-SearchIndex \[-Name <String>\]
|
|
8
|
+
|
|
9
|
+
Get-SearchIndex \[-Name <String>\]
|
|
10
|
+
|
|
11
|
+
## Detailed Description
|
|
12
|
+
|
|
13
|
+
The Get-SearchIndex command returns the available Sitecore indexes. These are the same as those found in the Control Panel.
|
|
14
|
+
|
|
15
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
|
|
19
|
+
### -Name <String>
|
|
20
|
+
|
|
21
|
+
Name of the index to return.
|
|
22
|
+
|
|
23
|
+
| Aliases | |
|
|
24
|
+
| :--- | :--- |
|
|
25
|
+
| Required? | false |
|
|
26
|
+
| Position? | named |
|
|
27
|
+
| Default Value | |
|
|
28
|
+
| Accept Pipeline Input? | false |
|
|
29
|
+
| Accept Wildcard Characters? | false |
|
|
30
|
+
|
|
31
|
+
## Inputs
|
|
32
|
+
|
|
33
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
34
|
+
|
|
35
|
+
* None or System.String
|
|
36
|
+
|
|
37
|
+
## Outputs
|
|
38
|
+
|
|
39
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
40
|
+
|
|
41
|
+
* Sitecore.ContentSearch.ISearchIndex
|
|
42
|
+
|
|
43
|
+
## Notes
|
|
44
|
+
|
|
45
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
46
|
+
|
|
47
|
+
## Examples
|
|
48
|
+
|
|
49
|
+
### EXAMPLE 1
|
|
50
|
+
|
|
51
|
+
```powershell
|
|
52
|
+
The following lists all available indexes.
|
|
53
|
+
|
|
54
|
+
PS master:\>Get-SearchIndex
|
|
55
|
+
|
|
56
|
+
Name IndexingState IsRebuilding IsSharded
|
|
57
|
+
---- ------------- ------------ ---------
|
|
58
|
+
sitecore_analytics_index Started False False
|
|
59
|
+
sitecore_core_index Started False False
|
|
60
|
+
sitecore_master_index Started True False
|
|
61
|
+
sitecore_web_index Started False False
|
|
62
|
+
sitecore_marketing_asset_inde... Started False False
|
|
63
|
+
sitecore_marketing_asset_inde... Started False False
|
|
64
|
+
sitecore_testing_index Started False False
|
|
65
|
+
sitecore_suggested_test_index Started False False
|
|
66
|
+
sitecore_fxm_master_index Started False False
|
|
67
|
+
sitecore_fxm_web_index Started False False
|
|
68
|
+
sitecore_list_index Started False False
|
|
69
|
+
social_messages_master Started False False
|
|
70
|
+
social_messages_web Started False False
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### EXAMPLE 2
|
|
74
|
+
|
|
75
|
+
```powershell
|
|
76
|
+
The following lists only the specified index.
|
|
77
|
+
|
|
78
|
+
PS master:\>Get-SearchIndex -Name sitecore_master_index
|
|
79
|
+
|
|
80
|
+
Name IndexingState IsRebuilding IsSharded
|
|
81
|
+
---- ------------- ------------ ---------
|
|
82
|
+
sitecore_master_index Started True False
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Related Topics
|
|
86
|
+
|
|
87
|
+
* [Initialize-SearchIndex](initialize-searchindex.md)
|
|
88
|
+
* [Stop-SearchIndex](stop-searchindex.md)
|
|
89
|
+
* [Resume-SearchIndex](resume-searchindex.md)
|
|
90
|
+
* [Suspend-SearchIndex](suspend-searchindex.md)
|
|
91
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
92
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Get-Session
|
|
2
|
+
|
|
3
|
+
Returns one or more Sitecore user sessions using the specified criteria.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-Session \[-Identity <AccountIdentity>\]
|
|
8
|
+
|
|
9
|
+
Get-Session -InstanceId <String\[\]>
|
|
10
|
+
|
|
11
|
+
## Detailed Description
|
|
12
|
+
|
|
13
|
+
The Get-Session command returns one or more Sitecore user sessions using the specified criteria.
|
|
14
|
+
|
|
15
|
+
The Identity parameter specifies the Sitecore user to get. You can specify a user by its local name or fully qualified name.
|
|
16
|
+
|
|
17
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
### -Identity <AccountIdentity>
|
|
22
|
+
|
|
23
|
+
Specifies the Sitecore user by providing one of the following values.
|
|
24
|
+
|
|
25
|
+
```powershell
|
|
26
|
+
Local Name
|
|
27
|
+
Example: admin
|
|
28
|
+
Fully Qualified Name
|
|
29
|
+
Example: sitecore\admi
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
| Aliases | |
|
|
33
|
+
| :--- | :--- |
|
|
34
|
+
| Required? | false |
|
|
35
|
+
| Position? | named |
|
|
36
|
+
| Default Value | |
|
|
37
|
+
| Accept Pipeline Input? | false |
|
|
38
|
+
| Accept Wildcard Characters? | false |
|
|
39
|
+
|
|
40
|
+
### -InstanceId <String\[\]>
|
|
41
|
+
|
|
42
|
+
Specifies the Sitecore SessionID.
|
|
43
|
+
|
|
44
|
+
| Aliases | |
|
|
45
|
+
| :--- | :--- |
|
|
46
|
+
| Required? | true |
|
|
47
|
+
| Position? | named |
|
|
48
|
+
| Default Value | |
|
|
49
|
+
| Accept Pipeline Input? | false |
|
|
50
|
+
| Accept Wildcard Characters? | false |
|
|
51
|
+
|
|
52
|
+
## Inputs
|
|
53
|
+
|
|
54
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
55
|
+
|
|
56
|
+
* None.
|
|
57
|
+
|
|
58
|
+
## Outputs
|
|
59
|
+
|
|
60
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
61
|
+
|
|
62
|
+
* Sitecore.Web.Authentication.DomainAccessGuard.Session
|
|
63
|
+
|
|
64
|
+
Returns one or more user sessions.
|
|
65
|
+
|
|
66
|
+
## Notes
|
|
67
|
+
|
|
68
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
69
|
+
|
|
70
|
+
## Examples
|
|
71
|
+
|
|
72
|
+
### EXAMPLE 1
|
|
73
|
+
|
|
74
|
+
```powershell
|
|
75
|
+
PS master:\> Get-Session
|
|
76
|
+
|
|
77
|
+
Created LastRequest SessionID UserName
|
|
78
|
+
------- ----------- --------- --------
|
|
79
|
+
7/3/2014 3:30:39 PM 7/3/2014 3:44:27 PM tekipna1lk0ccr2z1bdjsua2 sitecore\admin
|
|
80
|
+
7/3/2014 4:13:55 PM 7/3/2014 4:13:55 PM wq4bfivfm2tbgkgdccpyzczp sitecore\michael
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### EXAMPLE 2
|
|
84
|
+
|
|
85
|
+
```powershell
|
|
86
|
+
PS master:\> Get-Session -Identity admin
|
|
87
|
+
|
|
88
|
+
Created LastRequest SessionID UserName
|
|
89
|
+
------- ----------- --------- --------
|
|
90
|
+
7/3/2014 3:30:39 PM 7/3/2014 3:44:27 PM tekipna1lk0ccr2z1bdjsua2 sitecore\admin
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### EXAMPLE 3
|
|
94
|
+
|
|
95
|
+
```powershell
|
|
96
|
+
PS master:\> Get-Session -InstanceId tekipna1lk0ccr2z1bdjsua2,wq4bfivfm2tbgkgdccpyzczp
|
|
97
|
+
|
|
98
|
+
Created LastRequest SessionID UserName
|
|
99
|
+
------- ----------- --------- --------
|
|
100
|
+
7/3/2014 3:30:39 PM 7/3/2014 3:44:27 PM tekipna1lk0ccr2z1bdjsua2 sitecore\admin
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Related Topics
|
|
104
|
+
|
|
105
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
106
|
+
* [Remove-Session](remove-session.md)
|
|
107
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Get-SitecoreJob
|
|
2
|
+
|
|
3
|
+
Returns list of the current sitecore jobs
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-SitecoreJob
|
|
8
|
+
|
|
9
|
+
## Detailed Description
|
|
10
|
+
|
|
11
|
+
The Get-SitecoreJob command returns the list of the currently running jobs of Sitecore.
|
|
12
|
+
|
|
13
|
+
© 2010-2019 Implemented by Vangasewinkel Benjamin using the Adam Najmanowicz, Michael West Sitecore PowerShell Extensions. All rights reserved.
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
None
|
|
18
|
+
|
|
19
|
+
## Outputs
|
|
20
|
+
|
|
21
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
22
|
+
|
|
23
|
+
* Sitecore.Jobs.Job
|
|
24
|
+
|
|
25
|
+
## Notes
|
|
26
|
+
|
|
27
|
+
Help Author: Vangansewinkel Benjamin
|
|
28
|
+
|
|
29
|
+
## Examples
|
|
30
|
+
|
|
31
|
+
### EXAMPLE 1
|
|
32
|
+
|
|
33
|
+
```powershell
|
|
34
|
+
PS master:\> Get-SitecoreJob
|
|
35
|
+
|
|
36
|
+
Category : PowerShell
|
|
37
|
+
Handle : b62d9129-298a-4630-bb37-d725e5ce3bbf;DCI5CG6011F3Y-sc81u3contact
|
|
38
|
+
IsDone : True
|
|
39
|
+
Name : PowerShell-ca2a0179-78c5-02a4-5970-17e4909752b0-{347EBAF8-6BE2-4ABC-91D0-36B36FCF414B}
|
|
40
|
+
Options : Sitecore.Jobs.JobOptions
|
|
41
|
+
Status : Sitecore.Jobs.JobStatus
|
|
42
|
+
WaitHandle : System.Threading.ManualResetEvent
|
|
43
|
+
QueueTime : 11/13/2017 1:03:18 PM
|
|
44
|
+
MessageQueue : Sitecore.Jobs.AsyncUI.MessageQueue
|
|
45
|
+
|
|
46
|
+
Category : Indexing
|
|
47
|
+
Handle : dca83fc7-def7-4564-ac44-987e79ffc3cd;DCI5CG6011F3Y-sc81u3contact
|
|
48
|
+
IsDone : True
|
|
49
|
+
Name : Index_Update_IndexName=sitecore_analytics_index
|
|
50
|
+
Options : Sitecore.Jobs.JobOptions
|
|
51
|
+
Status : Sitecore.Jobs.JobStatus
|
|
52
|
+
WaitHandle : System.Threading.ManualResetEvent
|
|
53
|
+
QueueTime : 11/13/2017 1:03:29 PM
|
|
54
|
+
MessageQueue : Sitecore.Jobs.AsyncUI.MessageQueue
|
|
55
|
+
|
|
56
|
+
Category : PowerShell
|
|
57
|
+
Handle : de0a1dce-45f7-44fb-81b5-02b402c1f614;DCI5CG6011F3Y-sc81u3contact
|
|
58
|
+
IsDone : False
|
|
59
|
+
Name : PowerShell-ca2a0179-78c5-02a4-5970-17e4909752b0-{47666A58-890B-4D13-8F15-3348643750E4}
|
|
60
|
+
Options : Sitecore.Jobs.JobOptions
|
|
61
|
+
Status : Sitecore.Jobs.JobStatus
|
|
62
|
+
WaitHandle : System.Threading.ManualResetEvent
|
|
63
|
+
QueueTime : 11/13/2017 1:03:29 PM
|
|
64
|
+
MessageQueue : Sitecore.Jobs.AsyncUI.MessageQueue
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### EXAMPLE 2
|
|
68
|
+
|
|
69
|
+
```powershell
|
|
70
|
+
PS master:\> $jobs = Get-SitecoreJob
|
|
71
|
+
PS master:\> $jobs[0].Status
|
|
72
|
+
|
|
73
|
+
Category : PowerShell
|
|
74
|
+
Handle : c9215f66-ce60-49e5-9620-bf1ec51b6ef4;DCI5CG6011F3Y-sc81u3contact
|
|
75
|
+
IsDone : False
|
|
76
|
+
Name : PowerShell-ca2a0179-78c5-02a4-5970-17e4909752b0-{DF4895A6-3EBB-4A2A-9756-3A0EF4B96396}
|
|
77
|
+
Options : Sitecore.Jobs.JobOptions
|
|
78
|
+
Status : Sitecore.Jobs.JobStatus
|
|
79
|
+
WaitHandle : System.Threading.ManualResetEvent
|
|
80
|
+
QueueTime : 11/13/2017 1:05:54 PM
|
|
81
|
+
MessageQueue : Sitecore.Jobs.AsyncUI.MessageQueue
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### EXAMPLE 3
|
|
85
|
+
|
|
86
|
+
```powershell
|
|
87
|
+
PS master:\> Get-SitecoreJob | Show-ListView -Property "Category", "IsDone", "Name", "QueueTime", `
|
|
88
|
+
@{Label="Status Expiry"; Expression={$_.Status.Expiry} },
|
|
89
|
+
@{Label="Status Failed"; Expression={$_.Status.Failed} },
|
|
90
|
+
@{Label="Status State"; Expression={$_.Status.State} },
|
|
91
|
+
@{Label="Status Processed"; Expression={$_.Status.Processed} },
|
|
92
|
+
@{Label="Status Total"; Expression={$_.Status.Total} },
|
|
93
|
+
@{Label="Status Message"; Expression={$_.Status.Messages} }
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+

|
|
97
|
+
|
|
98
|
+
## Related Topics
|
|
99
|
+
|
|
100
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
101
|
+
* [https://www.youtube.com/watch?v=N3xgZcU9FqQ&list=PLph7ZchYd\_nCypVZSNkudGwPFRqf1na0b&index=9](https://www.youtube.com/watch?v=N3xgZcU9FqQ&list=PLph7ZchYd_nCypVZSNkudGwPFRqf1na0b&index=9)
|
|
102
|
+
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Get-SpeModule
|
|
2
|
+
|
|
3
|
+
Returns the object that describes a Sitecore PowerShell Extensions Module
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-SpeModule -Item <Item>
|
|
8
|
+
|
|
9
|
+
Get-SpeModule -Path <String>
|
|
10
|
+
|
|
11
|
+
Get-SpeModule -Id <String> -Database <String>
|
|
12
|
+
|
|
13
|
+
Get-SpeModule -Database <String>
|
|
14
|
+
|
|
15
|
+
Get-SpeModule \[-Database <String>\] -Name <String>
|
|
16
|
+
|
|
17
|
+
## Detailed Description
|
|
18
|
+
|
|
19
|
+
The Get-SpeModule command returns the object that describes a Sitecore PowerShell Extensions Module.
|
|
20
|
+
|
|
21
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
22
|
+
|
|
23
|
+
## Parameters
|
|
24
|
+
|
|
25
|
+
### -Item <Item>
|
|
26
|
+
|
|
27
|
+
A script or library item that is defined within the module to be returned.
|
|
28
|
+
|
|
29
|
+
| Aliases | |
|
|
30
|
+
| :--- | :--- |
|
|
31
|
+
| Required? | true |
|
|
32
|
+
| Position? | named |
|
|
33
|
+
| Default Value | |
|
|
34
|
+
| Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
|
|
35
|
+
| Accept Wildcard Characters? | false |
|
|
36
|
+
|
|
37
|
+
### -Path <String>
|
|
38
|
+
|
|
39
|
+
Path to a script or library item that is defined within the module to be returned.
|
|
40
|
+
|
|
41
|
+
| Aliases | |
|
|
42
|
+
| :--- | :--- |
|
|
43
|
+
| Required? | true |
|
|
44
|
+
| Position? | named |
|
|
45
|
+
| Default Value | |
|
|
46
|
+
| Accept Pipeline Input? | false |
|
|
47
|
+
| Accept Wildcard Characters? | false |
|
|
48
|
+
|
|
49
|
+
### -Id <String>
|
|
50
|
+
|
|
51
|
+
Id of a script or library item that is defined within the module to be returned.
|
|
52
|
+
|
|
53
|
+
| Aliases | |
|
|
54
|
+
| :--- | :--- |
|
|
55
|
+
| Required? | true |
|
|
56
|
+
| Position? | named |
|
|
57
|
+
| Default Value | |
|
|
58
|
+
| Accept Pipeline Input? | false |
|
|
59
|
+
| Accept Wildcard Characters? | false |
|
|
60
|
+
|
|
61
|
+
### -Database <String>
|
|
62
|
+
|
|
63
|
+
Database containing the module to be returned.
|
|
64
|
+
|
|
65
|
+
| Aliases | |
|
|
66
|
+
| :--- | :--- |
|
|
67
|
+
| Required? | true |
|
|
68
|
+
| Position? | named |
|
|
69
|
+
| Default Value | |
|
|
70
|
+
| Accept Pipeline Input? | true \(ByValue\) |
|
|
71
|
+
| Accept Wildcard Characters? | false |
|
|
72
|
+
|
|
73
|
+
### -Name <String>
|
|
74
|
+
|
|
75
|
+
Name fo the module to return. Supports wildcards.
|
|
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
|
+
## Inputs
|
|
86
|
+
|
|
87
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
88
|
+
|
|
89
|
+
* Sitecore.Data.Items.Item
|
|
90
|
+
|
|
91
|
+
System.String
|
|
92
|
+
|
|
93
|
+
## Outputs
|
|
94
|
+
|
|
95
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
96
|
+
|
|
97
|
+
* Spe.Core.Modules.Module
|
|
98
|
+
|
|
99
|
+
## Notes
|
|
100
|
+
|
|
101
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
102
|
+
|
|
103
|
+
## Examples
|
|
104
|
+
|
|
105
|
+
### EXAMPLE 1
|
|
106
|
+
|
|
107
|
+
Return all modules defined in the provided database
|
|
108
|
+
|
|
109
|
+
```powershell
|
|
110
|
+
PS master:\> Get-SpeModule -Database (Get-Database "master")
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### EXAMPLE 2
|
|
114
|
+
|
|
115
|
+
Return all modules defined in the master database Matching the "Content\*" wildcard
|
|
116
|
+
|
|
117
|
+
```powershell
|
|
118
|
+
PS master:\> Get-SpeModule -Database (Get-Database "master")
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### EXAMPLE 3
|
|
122
|
+
|
|
123
|
+
Return the module the piped script belongs to
|
|
124
|
+
|
|
125
|
+
```powershell
|
|
126
|
+
PS master:\> Get-item "master:\system\Modules\PowerShell\Script Library\Copy Renderings\Content Editor\Context Menu\Layout\Copy Renderings" | Get-SpeModule
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Related Topics
|
|
130
|
+
|
|
131
|
+
* [Get-SpeModuleFeatureRoot](get-spemodulefeatureroot.md)
|
|
132
|
+
* [https://blog.najmanowicz.com/2014/11/01/sitecore-powershell-extensions-3-0-modules-proposal/](https://blog.najmanowicz.com/2014/11/01/sitecore-powershell-extensions-3-0-modules-proposal/)
|
|
133
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
134
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Get-SpeModuleFeatureRoot
|
|
2
|
+
|
|
3
|
+
Returns the library item or path to the library where scripts for a particular integration point should be located for a specific module.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Get-SpeModuleFeatureRoot \[-Module <Module>\] \[-ReturnPath\] \[-Feature\] <String>
|
|
8
|
+
|
|
9
|
+
## Detailed Description
|
|
10
|
+
|
|
11
|
+
The Get-SpeModuleFeatureRoot command returns library item or path to the library where scripts for a particular integration point should be located for a specific module.
|
|
12
|
+
|
|
13
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
### -Module <Module>
|
|
18
|
+
|
|
19
|
+
Module for which the feature root library should be returned. If not provided the feature root will be returned for all modules.
|
|
20
|
+
|
|
21
|
+
| Aliases | |
|
|
22
|
+
| :--- | :--- |
|
|
23
|
+
| Required? | false |
|
|
24
|
+
| Position? | named |
|
|
25
|
+
| Default Value | |
|
|
26
|
+
| Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
|
|
27
|
+
| Accept Wildcard Characters? | false |
|
|
28
|
+
|
|
29
|
+
### -ReturnPath <SwitchParameter>
|
|
30
|
+
|
|
31
|
+
| Aliases | |
|
|
32
|
+
| :--- | :--- |
|
|
33
|
+
| Required? | false |
|
|
34
|
+
| Position? | named |
|
|
35
|
+
| Default Value | |
|
|
36
|
+
| Accept Pipeline Input? | false |
|
|
37
|
+
| Accept Wildcard Characters? | false |
|
|
38
|
+
|
|
39
|
+
### -Feature <String>
|
|
40
|
+
|
|
41
|
+
Feature for which the root library should be provided. If root item does not exist and -ReturnPath parameter is not specified - nothing will be returned, If -ReturnPath parameter is provided the path in which the feature root should be located will be returned
|
|
42
|
+
|
|
43
|
+
Valid features:
|
|
44
|
+
|
|
45
|
+
* contentEditorContextMenu
|
|
46
|
+
* contentEditorGutters
|
|
47
|
+
* contentEditorRibbon
|
|
48
|
+
* controlPanel
|
|
49
|
+
* functions
|
|
50
|
+
* listViewExport
|
|
51
|
+
* listViewRibbon
|
|
52
|
+
* pipelineLoggedIn
|
|
53
|
+
* pipelineLoggingIn
|
|
54
|
+
* pipelineLogout
|
|
55
|
+
* toolbox
|
|
56
|
+
* startMenuReports
|
|
57
|
+
* eventHandlers
|
|
58
|
+
* webAPI
|
|
59
|
+
* pageEditorNotification
|
|
60
|
+
* isePlugi
|
|
61
|
+
|
|
62
|
+
| Aliases | |
|
|
63
|
+
| :--- | :--- |
|
|
64
|
+
| Required? | true |
|
|
65
|
+
| Position? | 1 |
|
|
66
|
+
| Default Value | |
|
|
67
|
+
| Accept Pipeline Input? | false |
|
|
68
|
+
| Accept Wildcard Characters? | false |
|
|
69
|
+
|
|
70
|
+
## Inputs
|
|
71
|
+
|
|
72
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
73
|
+
|
|
74
|
+
* Sitecore.Data.Items.Item
|
|
75
|
+
|
|
76
|
+
## Outputs
|
|
77
|
+
|
|
78
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
79
|
+
|
|
80
|
+
* Sitecore.Data.Items.Item
|
|
81
|
+
|
|
82
|
+
System.String
|
|
83
|
+
|
|
84
|
+
## Notes
|
|
85
|
+
|
|
86
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
87
|
+
|
|
88
|
+
## Examples
|
|
89
|
+
|
|
90
|
+
### EXAMPLE 1
|
|
91
|
+
|
|
92
|
+
Return the library item for "Content Editor Context Menu"
|
|
93
|
+
|
|
94
|
+
```powershell
|
|
95
|
+
$module = Get-SpeModule -Name "Copy Renderings"
|
|
96
|
+
Get-SpeModuleFeatureRoot -Feature contentEditorContextMenu -Module $module
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### EXAMPLE 2
|
|
100
|
+
|
|
101
|
+
Return the Path to where "List View Export" scripts would be located if this feature was defined
|
|
102
|
+
|
|
103
|
+
```powershell
|
|
104
|
+
$module = Get-SpeModule -Name "Copy Renderings"
|
|
105
|
+
Get-SpeModuleFeatureRoot -Module $module -Feature listViewExport -ReturnPath
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Related Topics
|
|
109
|
+
|
|
110
|
+
* [Get-SpeModule](get-spemodule.md)
|
|
111
|
+
* [https://blog.najmanowicz.com/2014/11/01/sitecore-powershell-extensions-3-0-modules-proposal/](https://blog.najmanowicz.com/2014/11/01/sitecore-powershell-extensions-3-0-modules-proposal/)
|
|
112
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
113
|
+
|