@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,131 @@
|
|
|
1
|
+
# Clear-ItemAcl
|
|
2
|
+
|
|
3
|
+
Removes all security information from the item specified.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Clear-ItemAcl \[-Item\] <Item> \[-PassThru\]
|
|
8
|
+
|
|
9
|
+
Clear-ItemAcl \[-Path\] <String> \[-PassThru\]
|
|
10
|
+
|
|
11
|
+
Clear-ItemAcl -Id <String> \[-Database <String>\] \[-PassThru\]
|
|
12
|
+
|
|
13
|
+
## Detailed Description
|
|
14
|
+
|
|
15
|
+
Removes all security information from the item specified.
|
|
16
|
+
|
|
17
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
### -PassThru <SwitchParameter>
|
|
22
|
+
|
|
23
|
+
Passes the processed item back into the pipeline.
|
|
24
|
+
|
|
25
|
+
| Aliases | |
|
|
26
|
+
| :--- | :--- |
|
|
27
|
+
| Required? | false |
|
|
28
|
+
| Position? | named |
|
|
29
|
+
| Default Value | |
|
|
30
|
+
| Accept Pipeline Input? | false |
|
|
31
|
+
| Accept Wildcard Characters? | false |
|
|
32
|
+
|
|
33
|
+
### -Item <Item>
|
|
34
|
+
|
|
35
|
+
The item to be processed.
|
|
36
|
+
|
|
37
|
+
| Aliases | |
|
|
38
|
+
| :--- | :--- |
|
|
39
|
+
| Required? | true |
|
|
40
|
+
| Position? | 1 |
|
|
41
|
+
| Default Value | |
|
|
42
|
+
| Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
|
|
43
|
+
| Accept Wildcard Characters? | false |
|
|
44
|
+
|
|
45
|
+
### -Path <String>
|
|
46
|
+
|
|
47
|
+
Path to the item to be processed.
|
|
48
|
+
|
|
49
|
+
| Aliases | |
|
|
50
|
+
| :--- | :--- |
|
|
51
|
+
| Required? | true |
|
|
52
|
+
| Position? | 1 |
|
|
53
|
+
| Default Value | |
|
|
54
|
+
| Accept Pipeline Input? | false |
|
|
55
|
+
| Accept Wildcard Characters? | false |
|
|
56
|
+
|
|
57
|
+
### -Id <String>
|
|
58
|
+
|
|
59
|
+
Id of the item to be processed. Requires the Database parameter to be specified.
|
|
60
|
+
|
|
61
|
+
| Aliases | |
|
|
62
|
+
| :--- | :--- |
|
|
63
|
+
| Required? | true |
|
|
64
|
+
| Position? | named |
|
|
65
|
+
| Default Value | |
|
|
66
|
+
| Accept Pipeline Input? | false |
|
|
67
|
+
| Accept Wildcard Characters? | false |
|
|
68
|
+
|
|
69
|
+
### -Database <String>
|
|
70
|
+
|
|
71
|
+
Database containing the item to be fetched with Id parameter.
|
|
72
|
+
|
|
73
|
+
| Aliases | |
|
|
74
|
+
| :--- | :--- |
|
|
75
|
+
| Required? | false |
|
|
76
|
+
| Position? | named |
|
|
77
|
+
| Default Value | |
|
|
78
|
+
| Accept Pipeline Input? | false |
|
|
79
|
+
| Accept Wildcard Characters? | false |
|
|
80
|
+
|
|
81
|
+
## Inputs
|
|
82
|
+
|
|
83
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
84
|
+
|
|
85
|
+
* can be piped from another cmdlet\* Sitecore.Data.Items.Item
|
|
86
|
+
|
|
87
|
+
## Outputs
|
|
88
|
+
|
|
89
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
90
|
+
|
|
91
|
+
* Only if -PassThru is used\* Sitecore.Data.Items.Item
|
|
92
|
+
|
|
93
|
+
## Notes
|
|
94
|
+
|
|
95
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
96
|
+
|
|
97
|
+
## Examples
|
|
98
|
+
|
|
99
|
+
### EXAMPLE 1
|
|
100
|
+
|
|
101
|
+
Clears the security information from the Home item providing its path
|
|
102
|
+
|
|
103
|
+
```powershell
|
|
104
|
+
PS master:\> Clear-ItemAcl -Path master:\content\home
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### EXAMPLE 2
|
|
108
|
+
|
|
109
|
+
Clears the security information from the Home item by providing it from the pipeline and passing it back to the pipeline.
|
|
110
|
+
|
|
111
|
+
```powershell
|
|
112
|
+
PS master:\> Get-Item -Path master:\content\home | Clear-ItemAcl -PassThru
|
|
113
|
+
|
|
114
|
+
Name Children Languages Id TemplateName
|
|
115
|
+
---- -------- --------- -- ------------
|
|
116
|
+
Home False {en, ja-JP, de-DE, da} {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9} Sample Item
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Related Topics
|
|
120
|
+
|
|
121
|
+
* [Add-ItemAcl](add-itemacl.md)
|
|
122
|
+
* [Get-ItemAcl](get-itemacl.md)
|
|
123
|
+
* [New-ItemAcl](new-itemacl.md)
|
|
124
|
+
* [Set-ItemAcl](set-itemacl.md)
|
|
125
|
+
* [Test-ItemAcl](test-itemacl.md)
|
|
126
|
+
* [https://sdn.sitecore.net/upload/sitecore6/security\_administrators\_cookbook\_a4.pdf](https://sdn.sitecore.net/upload/sitecore6/security_administrators_cookbook_a4.pdf)
|
|
127
|
+
* [https://sdn.sitecore.net/upload/sitecore6/61/security\_reference-a4.pdf](https://sdn.sitecore.net/upload/sitecore6/61/security_reference-a4.pdf)
|
|
128
|
+
* [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)
|
|
129
|
+
* [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)
|
|
130
|
+
* [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/)
|
|
131
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Close-Window
|
|
2
|
+
|
|
3
|
+
Closes the runner job window after the script completes.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Close-Window
|
|
8
|
+
|
|
9
|
+
## Detailed Description
|
|
10
|
+
|
|
11
|
+
Ensures the runner process window is closed after the script finishes execution. This is commonly used when the runner should close after a report runs while in the Desktop mode.
|
|
12
|
+
|
|
13
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
## Notes
|
|
18
|
+
|
|
19
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
20
|
+
|
|
21
|
+
## Examples
|
|
22
|
+
|
|
23
|
+
### EXAMPLE
|
|
24
|
+
|
|
25
|
+
```powershell
|
|
26
|
+
PS master:\> Close-Window
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Related Topics
|
|
30
|
+
|
|
31
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
32
|
+
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
* [Add-BaseTemplate](appendix/commands/Add-BaseTemplate.md)
|
|
2
|
+
* [Add-ItemAcl](appendix/commands/Add-ItemAcl.md)
|
|
3
|
+
* [Add-ItemVersion](appendix/commands/Add-ItemVersion.md)
|
|
4
|
+
* [Add-Rendering](appendix/commands/Add-Rendering.md)
|
|
5
|
+
* [Add-RoleMember](appendix/commands/Add-RoleMember.md)
|
|
6
|
+
* [Clear-ItemAcl](appendix/commands/Clear-ItemAcl.md)
|
|
7
|
+
* [Close-Window](appendix/commands/Close-Window.md)
|
|
8
|
+
* [ConvertFrom-CliXml](appendix/commands/ConvertFrom-CliXml.md)
|
|
9
|
+
* [ConvertFrom-ItemClone](appendix/commands/ConvertFrom-ItemClone.md)
|
|
10
|
+
* [ConvertTo-CliXml](appendix/commands/ConvertTo-CliXml.md)
|
|
11
|
+
* [Disable-User](appendix/commands/Disable-User.md)
|
|
12
|
+
* [Enable-User](appendix/commands/Enable-User.md)
|
|
13
|
+
* [Expand-Token](appendix/commands/Expand-Token.md)
|
|
14
|
+
* [Export-Item](appendix/commands/Export-Item.md)
|
|
15
|
+
* [Export-Package](appendix/commands/Export-Package.md)
|
|
16
|
+
* [Export-Role](appendix/commands/Export-Role.md)
|
|
17
|
+
* [Export-UpdatePackage](appendix/commands/Export-UpdatePackage.md)
|
|
18
|
+
* [Export-User](appendix/commands/Export-User.md)
|
|
19
|
+
* [Find-Item](appendix/commands/Find-Item.md)
|
|
20
|
+
* [Get-Archive](appendix/commands/Get-Archive.md)
|
|
21
|
+
* [Get-Cache](appendix/commands/Get-Cache.md)
|
|
22
|
+
* [Get-Database](appendix/commands/Get-Database.md)
|
|
23
|
+
* [Get-Domain](appendix/commands/Get-Domain.md)
|
|
24
|
+
* [Get-ItemAcl](appendix/commands/Get-ItemAcl.md)
|
|
25
|
+
* [Get-ItemClone](appendix/commands/Get-ItemClone.md)
|
|
26
|
+
* [Get-ItemCloneNotification](appendix/commands/Get-ItemCloneNotification.md)
|
|
27
|
+
* [Get-ItemField](appendix/commands/Get-ItemField.md)
|
|
28
|
+
* [Get-ItemReference](appendix/commands/Get-ItemReference.md)
|
|
29
|
+
* [Get-ItemReferrer](appendix/commands/Get-ItemReferrer.md)
|
|
30
|
+
* [Get-ItemTemplate](appendix/commands/Get-ItemTemplate.md)
|
|
31
|
+
* [Get-ItemWorkflowEvent](appendix/commands/Get-ItemWorkflowEvent.md)
|
|
32
|
+
* [Get-Layout](appendix/commands/Get-Layout.md)
|
|
33
|
+
* [Get-LayoutDevice](appendix/commands/Get-LayoutDevice.md)
|
|
34
|
+
* [Get-Package](appendix/commands/Get-Package.md)
|
|
35
|
+
* [Get-Preset](appendix/commands/Get-Preset.md)
|
|
36
|
+
* [Get-Rendering](appendix/commands/Get-Rendering.md)
|
|
37
|
+
* [Get-Role](appendix/commands/Get-Role.md)
|
|
38
|
+
* [Get-RoleMember](appendix/commands/Get-RoleMember.md)
|
|
39
|
+
* [Get-ScriptSession](appendix/commands/Get-ScriptSession.md)
|
|
40
|
+
* [Get-SearchIndex](appendix/commands/Get-SearchIndex.md)
|
|
41
|
+
* [Get-Session](appendix/commands/Get-Session.md)
|
|
42
|
+
* [Get-SpeModule](appendix/commands/Get-SpeModule.md)
|
|
43
|
+
* [Get-SpeModuleFeatureRoot](appendix/commands/Get-SpeModuleFeatureRoot.md)
|
|
44
|
+
* [Get-TaskSchedule](appendix/commands/Get-TaskSchedule.md)
|
|
45
|
+
* [Get-UpdatePackageDiff](appendix/commands/Get-UpdatePackageDiff.md)
|
|
46
|
+
* [Get-User](appendix/commands/Get-User.md)
|
|
47
|
+
* [Get-UserAgent](appendix/commands/Get-UserAgent.md)
|
|
48
|
+
* [Import-Function](appendix/commands/Import-Function.md)
|
|
49
|
+
* [Import-Item](appendix/commands/Import-Item.md)
|
|
50
|
+
* [Import-Role](appendix/commands/Import-Role.md)
|
|
51
|
+
* [Import-User](appendix/commands/Import-User.md)
|
|
52
|
+
* [Initialize-Item](appendix/commands/Initialize-Item.md)
|
|
53
|
+
* [Initialize-SearchIndex](appendix/commands/Initialize-SearchIndex.md)
|
|
54
|
+
* [Initialize-SearchIndexItem](appendix/commands/Initialize-SearchIndexItem.md)
|
|
55
|
+
* [Install-Package](appendix/commands/Install-Package.md)
|
|
56
|
+
* [Install-UpdatePackage](appendix/commands/Install-UpdatePackage.md)
|
|
57
|
+
* [Invoke-JavaScript](appendix/commands/Invoke-JavaScript.md)
|
|
58
|
+
* [Invoke-Script](appendix/commands/Invoke-Script.md)
|
|
59
|
+
* [Invoke-ShellCommand](appendix/commands/Invoke-ShellCommand.md)
|
|
60
|
+
* [Invoke-Workflow](appendix/commands/Invoke-Workflow.md)
|
|
61
|
+
* [Lock-Item](appendix/commands/Lock-Item.md)
|
|
62
|
+
* [Login-User](appendix/commands/Login-User.md)
|
|
63
|
+
* [Logout-User](appendix/commands/Logout-User.md)
|
|
64
|
+
* [Merge-Layout](appendix/commands/Merge-Layout.md)
|
|
65
|
+
* [New-Domain](appendix/commands/New-Domain.md)
|
|
66
|
+
* [New-ExplicitFileSource](appendix/commands/New-ExplicitFileSource.md)
|
|
67
|
+
* [New-ExplicitItemSource](appendix/commands/New-ExplicitItemSource.md)
|
|
68
|
+
* [New-FileSource](appendix/commands/New-FileSource.md)
|
|
69
|
+
* [New-ItemAcl](appendix/commands/New-ItemAcl.md)
|
|
70
|
+
* [New-ItemClone](appendix/commands/New-ItemClone.md)
|
|
71
|
+
* [New-ItemSource](appendix/commands/New-ItemSource.md)
|
|
72
|
+
* [New-ItemWorkflowEvent](appendix/commands/New-ItemWorkflowEvent.md)
|
|
73
|
+
* [New-Package](appendix/commands/New-Package.md)
|
|
74
|
+
* [New-Rendering](appendix/commands/New-Rendering.md)
|
|
75
|
+
* [New-Role](appendix/commands/New-Role.md)
|
|
76
|
+
* [New-SecuritySource](appendix/commands/New-SecuritySource.md)
|
|
77
|
+
* [New-User](appendix/commands/New-User.md)
|
|
78
|
+
* [New-UsingBlock](appendix/commands/New-UsingBlock.md)
|
|
79
|
+
* [Out-Download](appendix/commands/Out-Download.md)
|
|
80
|
+
* [Protect-Item](appendix/commands/Protect-Item.md)
|
|
81
|
+
* [Publish-Item](appendix/commands/Publish-Item.md)
|
|
82
|
+
* [Read-Variable](appendix/commands/Read-Variable.md)
|
|
83
|
+
* [Receive-File](appendix/commands/Receive-File.md)
|
|
84
|
+
* [Receive-ItemCloneNotification](appendix/commands/Receive-ItemCloneNotification.md)
|
|
85
|
+
* [Receive-ScriptSession](appendix/commands/Receive-ScriptSession.md)
|
|
86
|
+
* [Remove-BaseTemplate](appendix/commands/Remove-BaseTemplate.md)
|
|
87
|
+
* [Remove-Domain](appendix/commands/Remove-Domain.md)
|
|
88
|
+
* [Remove-ItemVersion](appendix/commands/Remove-ItemVersion.md)
|
|
89
|
+
* [Remove-Rendering](appendix/commands/Remove-Rendering.md)
|
|
90
|
+
* [Remove-Role](appendix/commands/Remove-Role.md)
|
|
91
|
+
* [Remove-RoleMember](appendix/commands/Remove-RoleMember.md)
|
|
92
|
+
* [Remove-ScriptSession](appendix/commands/Remove-ScriptSession.md)
|
|
93
|
+
* [Remove-SearchIndexItem](appendix/commands/Remove-SearchIndexItem.md)
|
|
94
|
+
* [Remove-Session](appendix/commands/Remove-Session.md)
|
|
95
|
+
* [Remove-User](appendix/commands/Remove-User.md)
|
|
96
|
+
* [Reset-ItemField](appendix/commands/Reset-ItemField.md)
|
|
97
|
+
* [Reset-Layout](appendix/commands/Reset-Layout.md)
|
|
98
|
+
* [Restart-Application](appendix/commands/Restart-Application.md)
|
|
99
|
+
* [Resume-SearchIndex](appendix/commands/Resume-SearchIndex.md)
|
|
100
|
+
* [Send-File](appendix/commands/Send-File.md)
|
|
101
|
+
* [Send-SheerMessage](appendix/commands/Send-SheerMessage.md)
|
|
102
|
+
* [Set-HostProperty](appendix/commands/Set-HostProperty.md)
|
|
103
|
+
* [Set-ItemAcl](appendix/commands/Set-ItemAcl.md)
|
|
104
|
+
* [Set-ItemTemplate](appendix/commands/Set-ItemTemplate.md)
|
|
105
|
+
* [Set-Layout](appendix/commands/Set-Layout.md)
|
|
106
|
+
* [Set-Rendering](appendix/commands/Set-Rendering.md)
|
|
107
|
+
* [Set-User](appendix/commands/Set-User.md)
|
|
108
|
+
* [Set-UserPassword](appendix/commands/Set-UserPassword.md)
|
|
109
|
+
* [Show-Alert](appendix/commands/Show-Alert.md)
|
|
110
|
+
* [Show-Application](appendix/commands/Show-Application.md)
|
|
111
|
+
* [Show-Confirm](appendix/commands/Show-Confirm.md)
|
|
112
|
+
* [Show-FieldEditor](appendix/commands/Show-FieldEditor.md)
|
|
113
|
+
* [Show-Input](appendix/commands/Show-Input.md)
|
|
114
|
+
* [Show-ListView](appendix/commands/Show-ListView.md)
|
|
115
|
+
* [Show-ModalDialog](appendix/commands/Show-ModalDialog.md)
|
|
116
|
+
* [Show-Result](appendix/commands/Show-Result.md)
|
|
117
|
+
* [Show-YesNoCancel](appendix/commands/Show-YesNoCancel.md)
|
|
118
|
+
* [Start-ScriptSession](appendix/commands/Start-ScriptSession.md)
|
|
119
|
+
* [Start-TaskSchedule](appendix/commands/Start-TaskSchedule.md)
|
|
120
|
+
* [Stop-ScriptSession](appendix/commands/Stop-ScriptSession.md)
|
|
121
|
+
* [Stop-SearchIndex](appendix/commands/Stop-SearchIndex.md)
|
|
122
|
+
* [Suspend-SearchIndex](appendix/commands/Suspend-SearchIndex.md)
|
|
123
|
+
* [Switch-Rendering](appendix/commands/Switch-Rendering.md)
|
|
124
|
+
* [Test-Account](appendix/commands/Test-Account.md)
|
|
125
|
+
* [Test-BaseTemplate](appendix/commands/Test-BaseTemplate.md)
|
|
126
|
+
* [Test-ItemAcl](appendix/commands/Test-ItemAcl.md)
|
|
127
|
+
* [Test-Rule](appendix/commands/Test-Rule.md)
|
|
128
|
+
* [Unlock-Item](appendix/commands/Unlock-Item.md)
|
|
129
|
+
* [Unlock-User](appendix/commands/Unlock-User.md)
|
|
130
|
+
* [Unprotect-Item](appendix/commands/Unprotect-Item.md)
|
|
131
|
+
* [Update-ItemReferrer](appendix/commands/Update-ItemReferrer.md)
|
|
132
|
+
* [Update-ListView](appendix/commands/Update-ListView.md)
|
|
133
|
+
* [Wait-ScriptSession](appendix/commands/Wait-ScriptSession.md)
|
|
134
|
+
* [Write-Log](appendix/commands/Write-Log.md)
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# ConvertFrom-CliXml
|
|
2
|
+
|
|
3
|
+
Imports a CliXml string with data that represents Microsoft .NET objects and creates the objects within PowerShell.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
ConvertFrom-CliXml \[-InputObject\] <String>
|
|
8
|
+
|
|
9
|
+
## Detailed Description
|
|
10
|
+
|
|
11
|
+
The ConvertFrom-CliXml command imports a CliXml string with data that represents Microsoft .NET Framework objects and creates the objects in PowerShell.
|
|
12
|
+
|
|
13
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
### -InputObject <String>
|
|
18
|
+
|
|
19
|
+
String containing the Xml with serialized objects.
|
|
20
|
+
|
|
21
|
+
| Aliases | |
|
|
22
|
+
| :--- | :--- |
|
|
23
|
+
| Required? | true |
|
|
24
|
+
| Position? | 1 |
|
|
25
|
+
| Default Value | |
|
|
26
|
+
| Accept Pipeline Input? | true \(ByValue\) |
|
|
27
|
+
| Accept Wildcard Characters? | false |
|
|
28
|
+
|
|
29
|
+
## Inputs
|
|
30
|
+
|
|
31
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
32
|
+
|
|
33
|
+
* System.String
|
|
34
|
+
|
|
35
|
+
## Outputs
|
|
36
|
+
|
|
37
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
38
|
+
|
|
39
|
+
* object
|
|
40
|
+
|
|
41
|
+
## Notes
|
|
42
|
+
|
|
43
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
44
|
+
|
|
45
|
+
## Examples
|
|
46
|
+
|
|
47
|
+
### EXAMPLE
|
|
48
|
+
|
|
49
|
+
```powershell
|
|
50
|
+
PS master:\> #Convert original item to xml
|
|
51
|
+
PS master:\> $myCliXmlItem = Get-Item -Path master:\content\home | ConvertTo-CliXml
|
|
52
|
+
PS master:\> #print the CliXml
|
|
53
|
+
PS master:\> $myCliXmlItem
|
|
54
|
+
PS master:\> #print the Item converted back from CliXml
|
|
55
|
+
PS master:\> $myCliXmlItem | ConvertFrom-CliXml
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Related Topics
|
|
59
|
+
|
|
60
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
61
|
+
* [ConvertTo-CliXml](convertto-clixml.md)
|
|
62
|
+
* ConvertTo-Xml
|
|
63
|
+
* ConvertFrom-Xml
|
|
64
|
+
* Export-CliXml
|
|
65
|
+
* Import-CliXml
|
|
66
|
+
* [https://github.com/SitecorePowerShell/Console/issues/218](https://github.com/SitecorePowerShell/Console/issues/218)
|
|
67
|
+
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# ConvertFrom-ItemClone
|
|
2
|
+
|
|
3
|
+
Converts an item from a clone to a fully independent item.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
ConvertFrom-ItemClone \[-Item\] <Item> \[-Recurse\] \[-PassThru\]
|
|
8
|
+
|
|
9
|
+
ConvertFrom-ItemClone \[-Path\] <String> \[-Recurse\] \[-PassThru\]
|
|
10
|
+
|
|
11
|
+
ConvertFrom-ItemClone -Id <String> \[-Database <String>\] \[-Recurse\] \[-PassThru\]
|
|
12
|
+
|
|
13
|
+
## Detailed Description
|
|
14
|
+
|
|
15
|
+
Converts an item from a clone to a fully independent item.
|
|
16
|
+
|
|
17
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
### -Recurse <SwitchParameter>
|
|
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
|
+
### -PassThru <SwitchParameter>
|
|
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
|
+
### -Item <Item>
|
|
42
|
+
|
|
43
|
+
The item to be converted.
|
|
44
|
+
|
|
45
|
+
| Aliases | |
|
|
46
|
+
| :--- | :--- |
|
|
47
|
+
| Required? | true |
|
|
48
|
+
| Position? | 1 |
|
|
49
|
+
| Default Value | |
|
|
50
|
+
| Accept Pipeline Input? | true \(ByValue, ByPropertyName\) |
|
|
51
|
+
| Accept Wildcard Characters? | false |
|
|
52
|
+
|
|
53
|
+
### -Path <String>
|
|
54
|
+
|
|
55
|
+
Path to the item to be converted
|
|
56
|
+
|
|
57
|
+
| Aliases | |
|
|
58
|
+
| :--- | :--- |
|
|
59
|
+
| Required? | true |
|
|
60
|
+
| Position? | 1 |
|
|
61
|
+
| Default Value | |
|
|
62
|
+
| Accept Pipeline Input? | false |
|
|
63
|
+
| Accept Wildcard Characters? | false |
|
|
64
|
+
|
|
65
|
+
### -Id <String>
|
|
66
|
+
|
|
67
|
+
Id of the item to be converted
|
|
68
|
+
|
|
69
|
+
| Aliases | |
|
|
70
|
+
| :--- | :--- |
|
|
71
|
+
| Required? | true |
|
|
72
|
+
| Position? | named |
|
|
73
|
+
| Default Value | |
|
|
74
|
+
| Accept Pipeline Input? | false |
|
|
75
|
+
| Accept Wildcard Characters? | false |
|
|
76
|
+
|
|
77
|
+
### -Database <String>
|
|
78
|
+
|
|
79
|
+
Database containing the item to be converted
|
|
80
|
+
|
|
81
|
+
| Aliases | |
|
|
82
|
+
| :--- | :--- |
|
|
83
|
+
| Required? | false |
|
|
84
|
+
| Position? | named |
|
|
85
|
+
| Default Value | |
|
|
86
|
+
| Accept Pipeline Input? | false |
|
|
87
|
+
| Accept Wildcard Characters? | false |
|
|
88
|
+
|
|
89
|
+
## Inputs
|
|
90
|
+
|
|
91
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
92
|
+
|
|
93
|
+
* Sitecore.Data.Items.Item
|
|
94
|
+
|
|
95
|
+
## Outputs
|
|
96
|
+
|
|
97
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
98
|
+
|
|
99
|
+
* Sitecore.Data.Items.Item
|
|
100
|
+
|
|
101
|
+
## Notes
|
|
102
|
+
|
|
103
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
104
|
+
|
|
105
|
+
## Examples
|
|
106
|
+
|
|
107
|
+
### EXAMPLE
|
|
108
|
+
|
|
109
|
+
```powershell
|
|
110
|
+
PS master:\> ConvertFrom-ItemClone -Path master:\content\home
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## Related Topics
|
|
114
|
+
|
|
115
|
+
* [New-ItemClone](new-itemclone.md)
|
|
116
|
+
* [Get-ItemClone](get-itemclone.md)
|
|
117
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
118
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# ConvertTo-CliXml
|
|
2
|
+
|
|
3
|
+
Exports Microsoft .NET objects froms PowerShell to a CliXml string.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
ConvertTo-CliXml \[-InputObject\] <PSObject>
|
|
8
|
+
|
|
9
|
+
## Detailed Description
|
|
10
|
+
|
|
11
|
+
The ConvertTo-CliXml command exports Microsoft .NET Framework objects from PowerShell to a CliXml string.
|
|
12
|
+
|
|
13
|
+
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
### -InputObject <PSObject>
|
|
18
|
+
|
|
19
|
+
Specifies the object to be converted. Enter a variable that contains the objects, or type a command or expression that gets the objects. You can also pipe objects to ConvertTo-CliXml.
|
|
20
|
+
|
|
21
|
+
| Aliases | |
|
|
22
|
+
| :--- | :--- |
|
|
23
|
+
| Required? | true |
|
|
24
|
+
| Position? | 1 |
|
|
25
|
+
| Default Value | |
|
|
26
|
+
| Accept Pipeline Input? | true \(ByValue\) |
|
|
27
|
+
| Accept Wildcard Characters? | false |
|
|
28
|
+
|
|
29
|
+
## Inputs
|
|
30
|
+
|
|
31
|
+
The input type is the type of the objects that you can pipe to the cmdlet.
|
|
32
|
+
|
|
33
|
+
* object
|
|
34
|
+
|
|
35
|
+
## Outputs
|
|
36
|
+
|
|
37
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
38
|
+
|
|
39
|
+
* System.String
|
|
40
|
+
|
|
41
|
+
## Notes
|
|
42
|
+
|
|
43
|
+
Help Author: Adam Najmanowicz, Michael West
|
|
44
|
+
|
|
45
|
+
## Examples
|
|
46
|
+
|
|
47
|
+
### EXAMPLE
|
|
48
|
+
|
|
49
|
+
```powershell
|
|
50
|
+
PS master:\> #Convert original item to xml
|
|
51
|
+
PS master:\> $myCliXmlItem = Get-Item -Path master:\content\home | ConvertTo-CliXml
|
|
52
|
+
PS master:\> #print the CliXml
|
|
53
|
+
PS master:\> $myCliXmlItem
|
|
54
|
+
PS master:\> #print the Item converted back from CliXml
|
|
55
|
+
PS master:\> $myCliXmlItem | ConvertFrom-CliXml
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Related Topics
|
|
59
|
+
|
|
60
|
+
* [https://github.com/SitecorePowerShell/Console/](https://github.com/SitecorePowerShell/Console/)
|
|
61
|
+
* [ConvertFrom-CliXml](convertfrom-clixml.md)
|
|
62
|
+
* ConvertFrom-Xml
|
|
63
|
+
* ConvertTo-Xml
|
|
64
|
+
* Export-CliXml
|
|
65
|
+
* Import-CliXml
|
|
66
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Disable-User
|
|
2
|
+
|
|
3
|
+
Disables the specified Sitecore user.
|
|
4
|
+
|
|
5
|
+
## Syntax
|
|
6
|
+
|
|
7
|
+
Disable-User \[-Identity\] <AccountIdentity>
|
|
8
|
+
|
|
9
|
+
Disable-User -Instance <User>
|
|
10
|
+
|
|
11
|
+
## Detailed Description
|
|
12
|
+
|
|
13
|
+
The Disable-User command gets a user and disables the account in Sitecore.
|
|
14
|
+
|
|
15
|
+
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>.
|
|
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: michael
|
|
28
|
+
Fully Qualified Name
|
|
29
|
+
Example: sitecore\michael
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
| Aliases | |
|
|
33
|
+
| :--- | :--- |
|
|
34
|
+
| Required? | true |
|
|
35
|
+
| Position? | 1 |
|
|
36
|
+
| Default Value | |
|
|
37
|
+
| Accept Pipeline Input? | true \(ByValue\) |
|
|
38
|
+
| Accept Wildcard Characters? | false |
|
|
39
|
+
|
|
40
|
+
### -Instance <User>
|
|
41
|
+
|
|
42
|
+
Specifies the Sitecore user by providing an instance of a user.
|
|
43
|
+
|
|
44
|
+
| Aliases | |
|
|
45
|
+
| :--- | :--- |
|
|
46
|
+
| Required? | true |
|
|
47
|
+
| Position? | named |
|
|
48
|
+
| Default Value | |
|
|
49
|
+
| Accept Pipeline Input? | true \(ByValue\) |
|
|
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
|
+
* System.String
|
|
57
|
+
|
|
58
|
+
Represents the identity of a user.
|
|
59
|
+
|
|
60
|
+
Sitecore.Security.Accounts.User One or more user instances.
|
|
61
|
+
|
|
62
|
+
## Outputs
|
|
63
|
+
|
|
64
|
+
The output type is the type of the objects that the cmdlet emits.
|
|
65
|
+
|
|
66
|
+
* None.
|
|
67
|
+
|
|
68
|
+
## Notes
|
|
69
|
+
|
|
70
|
+
Michael West
|
|
71
|
+
|
|
72
|
+
## Examples
|
|
73
|
+
|
|
74
|
+
### EXAMPLE 1
|
|
75
|
+
|
|
76
|
+
```powershell
|
|
77
|
+
PS master:\> Disable-User -Identity michael
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### EXAMPLE 2
|
|
81
|
+
|
|
82
|
+
```powershell
|
|
83
|
+
PS master:\> Get-User -Filter * | Disable-User
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Related Topics
|
|
87
|
+
|
|
88
|
+
* [https://michaellwest.blogspot.com](https://michaellwest.blogspot.com)
|
|
89
|
+
|