Creating the file from the console:
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> @'
>> UserPrincipalName : {UserPrincipalName*:LeeG@lazydev.com}
>> DisplayName : {DisplayName:Lee Gu}
>> Title : {Title:jr engineer}
>> UserType : {UserType:Member}
>> IsLicensed : {IsLicensed:True}
>>
>> UserPrincipalName : {UserPrincipalName*:MeganB@lazydev.com}
>> '@ | Out-File full_template.psd1
PS /home/nicholas/powershell>
PS /home/nicholas/powershell> cat ./full_template.psd1
UserPrincipalName : {UserPrincipalName*:LeeG@lazydev.com}
DisplayName : {DisplayName:Lee Gu}
Title : {Title:jr engineer}
UserType : {UserType:Member}
IsLicensed : {IsLicensed:True}
UserPrincipalName : {UserPrincipalName*:MeganB@lazydev.com}
PS /home/nicholas/powershell>
but how is that file data imported?
This looks to be a "here string" but the usage, in particular, of the colon isn't clear from the documention I've referenced on data files for PowerShell.