Thanks for your reply.
By the way, MSDN suggests that PowerShell script can be loaded at log on by a VBS wrapper:
Set objShell = CreateObject("Wscript.Shell")
objShell.Run("powershell.exe -noexit c:\scripts\test.ps1")
But it seems that Surface fails to launch such a VBS.
Surface also forbids running bat files.
Is there any method by which i can set a PowerShell script as a logon one?
No comments:
Post a Comment