You could use the
Get-Content cmdlet to read from a text file. Is the file local or in a shared location?
Get-Content will read the entire file, and each line will be a member of an array. For example if you had the following in c:\test.txt:
You could run the following
$fileData = Get-Content "C:\test.txt"
$fileData would return "Hello World"
$fileData would return "Serial Number"
To run a script the first time a user logs on only, you will need to modify the default user profile that gets copied when a new user logs on. There is a good set of instructions here:
Let me know if you need help creating the script or modifying the default profile.
**if the post above has answered the question, please mark the topic as solved.