SampleFile.pssc file in Example 5 in New-PSSessionConfigurationFile topic contains a few mistakes:# Company associated with this session configurationCompanyName = Fabrikam Corporation'That should be 'Fabrikam Corporation'. An opening quote is missing.# Copyright statement for this session configurationCopyright = '(c) 2011 Fabrikam Corporation. All rights reserved.'That should be ‘(c) Fabrikam Corporation. All rights reserved.’ because that value is passed in the command -Copyright "(c) Fabrikam Corporation. All rights reserved."# Aliases defined in this session configurationAliasDefinitions = @(@{ Description='Gets help.' Name='hlp' Options='AllScope' Definition='Get-Help'}, @{ Description='Updates help' Name='Update' Options='ReadOnly' Definition='Update-Help'})It should be 'Value' instead of 'Definition'.# Type files (.ps1xml) that will be loaded in this session configurationTypesToProcess = 'Types1.ps1xml', 'Types2.ps1xml'# Format files (.ps1xml) that will be loaded in this session configurationFormatsToProcess = 'CustomFormats.ps1xml'# Specifies the scripts to execute after the session is configuredScriptsToProcess = 'Get-Inputs.ps1'Absolute paths are needed for all four files.
Where do you see this documentation issue.
Please wait...