Skip to content

Commit 488698a

Browse files
authored
Merge pull request MicrosoftDocs#848 from tseward/patch-482
Update Get-SPWebTemplatesEnabledForSiteMaster.md
2 parents dddda69 + 7659356 commit 488698a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Get-SPWebTemplatesEnabledForSiteMaster.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Get-SPWebTemplatesEnabledForSiteMaster
99

1010
## SYNOPSIS
11-
{{Fill in the Synopsis}}
11+
Returns a list of site master web templates.
1212

1313
## SYNTAX
1414

@@ -17,21 +17,23 @@ Get-SPWebTemplatesEnabledForSiteMaster [-AssignmentCollection <SPAssignmentColle
1717
```
1818

1919
## DESCRIPTION
20-
{{Fill in the Description}}
20+
Use the Get-SPWebTemplatesEnabledForSiteMaster cmdlet to display a full list of site master web templates in the farm.
2121

2222
## EXAMPLES
2323

2424
### Example 1
2525
```
26-
PS C:\> {{ Add example code here }}
26+
PS C:\>Get-SPWebTemplatesEnabledForSiteMaster
2727
```
2828

29-
{{ Add example description here }}
29+
This example displays all the site master web templates in a farm.
3030

3131
## PARAMETERS
3232

3333
### -AssignmentCollection
34-
{{Fill AssignmentCollection Description}}
34+
Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
35+
36+
When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.
3537

3638
```yaml
3739
Type: SPAssignmentCollection

0 commit comments

Comments
 (0)