Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Powershell script in autostart folder

$
0
0

Hello

I put two scripts to alluser startupfolder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

a Batch file which shall start a powershell script.

The result is not as expected: I want the powershell script to run but the script is opened by Notepad and displayed.

1) How do I manage to run the script

2) what is the reason for displaying the script

thanks or help


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>