I want to force PowerShell to run a command on a different server during an automated process run on a schedule. It runs when I type the commands manually, but fails when I try to run it from the .ps1 file. Guidance would be great. Thanks.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!