![]() ![]() ![]() ![]() RDM variables (%$HOST$) are resolved on the client against the session it will be running on while environment variables (%windir%) will be resolved on the destination machine at execution time. More advance (supports Run as a different user for example)īoth support environment and RDM variables.First select PowerShell and enter the command Start-Service -Name aspnet_state, select Run as Administrator and execute. In this example we want to start as service (say ASP. Select the script type, set the script parameters and hit Execute. Once opened, multi-select the opened session right-click -> Execute Script via Agent. First open an RDP connection to all the machines you want to execute the script on. Do you ever need to run a PowerShell script on multiple machines? Say an upgrade script? RDM Agent is the tool for the job. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |