Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Controp output remoting scripts

$
0
0

hello
i have  a function that do a lot of tasks running remotely on multiple computers

Function TASKS {....}
IPS=@(IP1,IP2,...IPN)
ICM IPS ${Function:TASKS}

the function work fine on each computer but I want to end the output of each task on my central console with:
......
This task executed on:  IP1
....
This task executed on:  IP2

..ect

in other words.. is it possible to get IP from wich my task is executed.., when i used argumentlist parameter i have the same IP value on the output
thank you


Viewing all articles
Browse latest Browse all 6937

Trending Articles