Skip to content

Commit 692e6d3

Browse files
authored
Merge pull request MicrosoftDocs#1254 from thomasvochten/Set-SPCustomLayoutsPage
Set-CustomLayoutsPage example
2 parents 4d04d82 + 171db50 commit 692e6d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Set-SPCustomLayoutsPage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For permissions and the most current information about Windows PowerShell for Sh
4242

4343
### ------------------EXAMPLE-----------------------
4444
```
45-
C:\PS>Set-SPCustomLayoutsPage -Identity "_layouts/accessdenied.aspx" -RelativePath "/_layouts/custompages/myaccessdenied.aspx" -WebApplication "http://server_name/mywebapp"
45+
C:\PS>Set-SPCustomLayoutsPage -Identity AccessDenied -RelativePath "/_layouts/custompages/myaccessdenied.aspx" -WebApplication "http://server_name/mywebapp"
4646
```
4747

4848
This example maps the specified path for the AccessDenied layout page in the Web application "http://server_name/mywebapp".

0 commit comments

Comments
 (0)