To help you better we need some information from you.
*** Please fill in the fields below if you are currently using a Trial Version of the Product. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.162
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17763.0
32 or 64 bit OS:
OK- really having a blast with this product, just waiting on the corporate purchase wheels to churn.
One of the things I really liked was being able to run the script on the remote computer under the Remote Option.
I have a script that loops through a bunch of machines.
As part of my loop process how do I get the process to execute on the remote machine?
*** Please add details and screenshots as needed below. ***
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
Running Scripts on Remote Computers
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Running Scripts on Remote Computers
- Attachments
-
- ServiceCenterCleanupHPMXLv1.ps1
- (5.22 KiB) Downloaded 157 times
Re: Running Scripts on Remote Computers
Are the machines you are looping through, you want to run this script on each machine?
If you are wanting to run this process remotely on each looped machine, you can try using the following cmdlet:
You can provide the process you would like to run in the script block parameter and it allows you to specify the computer you would like to remote to.
If you are wanting to run this process remotely on each looped machine, you can try using the following cmdlet:
Code: Select all
Invoke-Command
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.