w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
PowerShell - executing a script on a remote machine giving errorr

As the error message indicates, your remote script can't interact with the interactive user on the remote machine. One workaround is to create a scheduled task that runs a script that shows the message box. Set the scheduled task to "Run only when the user is logged on" so that the message box will be able to popup on the user's desktop (assuming they're logged in). Another option is to use psexec with its -i option.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.