Skip to content

Commit f2189c3

Browse files
authored
Merge pull request #3629 from joeywas/patch-1
Update examples to define splat variables correctly in Get-GPResultantSetOfPolicy.md
2 parents 0901d97 + 9e8dff7 commit f2189c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docset/winserver2022-ps/grouppolicy/Get-GPResultantSetOfPolicy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ report is generated in XML format, and is written to the specified file.
4848
### Example 2: Generate a report for the specified computer
4949

5050
```powershell
51-
@params = @{
51+
$params = @{
5252
ReportType = 'Xml'
5353
Path = 'c:\reports\computer-08.xml'
5454
Computer = 'computer-08.contso.com'
@@ -71,7 +71,7 @@ and is written to the specified file.
7171
### Example 3: Generate a report for the specified user in HTML format and save it to the specified file
7272

7373
```powershell
74-
@params = @{
74+
$params = @{
7575
ReportType = 'HTML'
7676
Path = 'c:\reports\UserReport.xml'
7777
User = 'Contoso\PattiFul'
@@ -93,7 +93,7 @@ it to the specified file.
9393
### Example 4: Generate a report for the specified computer and user in HTML format and save it to the specified file
9494

9595
```powershell
96-
@params = @{
96+
$params = @{
9797
ReportType = 'HTML'
9898
Path = 'c:\reports\UserAndComputerReport.xml'
9999
User = 'SomeUser'

0 commit comments

Comments
 (0)