Synopsis
Examples
Setting variables
Setting a variable from a file
📘 Setting variables from a file is a convenient way to set complex variables that contain spaces, newlines, or other special characters.
❗️ Warning: When setting variables from a file using PowerShell, you need to useGet-Content
with the-Raw
option to preserve newlines.