@@ -44,16 +44,16 @@ The script file includes valid metadata.
4444
4545### Example 2: Test a script file that has values for all metadata properties
4646```
47- PS C:\> Test-ScriptFileInfo -Path "D:\code\Test-Runbook.ps1" | Format-List *
47+ PS C:\> Test-ScriptFileInfo -Path "D:\code\Test-Runbook.ps1 | Format-List *
4848Name : Test-Runbook
4949Path : D:\code\Test-Runbook.ps1
5050ScriptBase : D:\code
51- ReleaseNotes : {contoso script now supports following features, Feature 1, Feature 2, Feature 3...}
51+ ReleaseNotes : {contoso script now supports following features, Feature 1, Feature 2, Feature 3...}
5252Version : 1.0
5353Guid : eb246b19-17da-4392-8c89-7c280f69ad0e
5454Author : pattif
5555CompanyName : Microsoft Corporation
56- Copyright : © 2015 Microsoft Corporation. All rights reserved.
56+ Copyright : © 2015 Microsoft Corporation. All rights reserved.
5757Tags : {Tag1, Tag2, Tag3}
5858LicenseUri : https://contoso.com/License
5959ProjectUri : https://contoso.com/
@@ -63,7 +63,7 @@ RequiredScripts : {Start-WFContosoServer, Stop-ContosoServerScript}
6363ExternalScriptDependencies : Stop-ContosoServerScript
6464Description : Contoso Script example
6565RequiredModules : {RequiredModule1, @{ ModuleName = 'RequiredModule2'; ModuleVersion = '1.0' }, @{ ModuleName = 'RequiredModule3'; RequiredVersion = '2.0' }, ExternalModule1}
66- ExportedCommands : {Test-WebUri, ValidateAndAdd-PSScriptInfoEntry, Get-PSScriptInfo, My-Workflow...}
66+ ExportedCommands : {Test-WebUri, ValidateAndAdd-PSScriptInfoEntry, Get-PSScriptInfo, My-Workflow...}
6767ExportedFunctions : {Test-WebUri, ValidateAndAdd-PSScriptInfoEntry, Get-PSScriptInfo, My-AdvPSCmdlet}
6868ExportedWorkflows : My-Workflow
6969```
@@ -74,7 +74,7 @@ This command tests the script file Test-Runbook.ps1 and uses the pipeline operat
7474```
7575PS C:\> Test-ScriptFileInfo -Path "D:\code\Hello-World.ps1"
7676Test-ScriptFileInfo : Script 'D:\code\Hello-World.ps1' is missing required metadata properties. Verify that the script file has Version, Description
77- and Author properties. You can use the Update-ScriptFileInfo or New-ScriptFileInfo cmdlet to add or update the PSScriptInfo to the script file.
77+ and Author properties. You can use the Update-ScriptFileInfo or New-ScriptFileInfo cmdlet to add or update the PSScriptInfo to the script file.
7878At line:1 char:1
7979+ Test-ScriptFileInfo D:\code\Hello-World.ps1
8080+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -97,7 +97,7 @@ Single quotation marks tell Windows PowerShell not to interpret any characters a
9797``` yaml
9898Type : String
9999Parameter Sets : LiteralPathParameterSet
100- Aliases :
100+ Aliases :
101101
102102Required : True
103103Position : Named
@@ -114,7 +114,7 @@ The default location is the current directory (.).
114114` ` ` yaml
115115Type : String
116116Parameter Sets : PathParameterSet
117- Aliases :
117+ Aliases :
118118
119119Required : True
120120Position : 0
0 commit comments