i like to create a powershell script with multiple lines as you can see in the excel picture above.
How can i write this cells with powershell code from excel to a ps1 file?
Then i like to call this ps1 from excel to execute embedded in vbs code
Set objShell = CreateObject("Wscript.shel
objShell.run("powershell -noexit -file c:\fso\CleanupFiles.ps1")