SampleFile.pssc file in Example 5 in New-PSSessionConfigurationFile topic contains a few mistakes:
# Company associated with this session configuration
CompanyName = Fabrikam Corporation'
That should be 'Fabrikam Corporation'. An opening quote is missing.
# Copyright statement for this session configuration
Copyright = '(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 configuration
AliasDefinitions = @(
It should be 'Value' instead of 'Definition'.
# Type files (.ps1xml) that will be loaded in this session configuration
TypesToProcess = 'Types1.ps1xml', 'Types2.ps1xml'
# Format files (.ps1xml) that will be loaded in this session configuration
FormatsToProcess = 'CustomFormats.ps1xml'
# Specifies the scripts to execute after the session is configured
ScriptsToProcess = 'Get-Inputs.ps1'
Absolute paths are needed for all four files.