0
votes
1answer
45 views

How to automatically create a Hyper-V VM and install an app using PowerShell

I am designing a testing infrastructure for a WPF application. I want a system that will create a VM when a new MSI appears in a folder, and install the MSI on the newly created VM. I am using Hyper-V ...
1
vote
1answer
283 views

SchTasks giving out error (0x1) on Windows 2008 R2

i have a powershell script which creates scheduled tasks as a part of automation process and my syntax is following; schtasks /create /s ServerName /u $username /p $password /ru $username /rp ...
0
votes
1answer
124 views

Hyper-V and Windows Server with Powershell/Automated?

So my work is looking into Automating Hyper-V Servers for Test Environments, Basically in the end we want to have a sort of Web/Form interface for selecting a server spin up. Right now it's done ...
2
votes
2answers
298 views

powershell call operator with multiple arguments?

I am trying to use the powershell call operator to essentially run the following command: "C:\Program Files (x86)\PuTTY\plink.exe" "-v -agent -m C:\Scripts\idrac_powerup_commands.txt ...
14
votes
8answers
5k views

Method to integrate Powershell scripts with non-Windows workflow?

I love the smell of new machines in the morning. I'm automating a machine creation workflow that involves several separate systems across my infrastructure, some of which involve 15 year old perl ...
2
votes
2answers
539 views

My powershell script wont save a file when run using Task Scheduler, do I need to specify a specific argument?

I have a script that downloads a temporary Excel file, copies parts of it to a new file, and saves it to a specific location on the network. The problem I'm having is that the new file is never ...
3
votes
1answer
412 views

How can I systematically shut down Windows services in order?

We have this open source application that has three (3) services. For the purpose of this question, let's call them A, B, and C. Now, they have to be shut down in a specific order. That order would ...
8
votes
1answer
3k views

Remotely renaming a domained Win 7 computer

I'm having a hard time figuring out how to rename a Windows 7 computer remotely. This is for automating Win 7 builds in a vSphere 5 environment, and I'm trying to get it as hands-off as I can. So far ...
1
vote
1answer
347 views

Scripted check for a specific feature from an msi installer

I need to be able to check for the installation of a particular feature from an msi installer. For context, I need to check whether the "Powershell Cmdlets" feature (TFPS from Feature table in Orca) ...
1
vote
1answer
530 views

Notes 6: Anyway to access the Lotus Notes server console via Telnet/SSH/WMI/Powershell?

I'm trying to automate a lot of tasks at my new company using Powershell. So far, I've had a lot of success with their server and network monitoring, but one thing that alludes me is whether they is ...
6
votes
3answers
16k views

Adding a user to the local Administrator group using powershell

I would like to use powershell to add a spesific user to the local administrator group on a machine. I would be running the powershell script in the context of a user that has Administration rights ...
3
votes
7answers
1k views

Automating Administration Tasks on Windows

What tools do you use and recommend for automating administration tasks for Windows-based computers? Examples of such tasks include: Installing/upgrading software Standarizing application settings ...