how to get content from a file using powershell code example Example: powershell create file content Set-Content D:\temp\test\test.txt 'Welcome to TutorialsPoint'