Questions tagged [automation]

the field of converting any manual process into one that can be run mostly, or entirely, "hands-free"

Automation is a wide-ranging term, covering topics from cron to "push-button provisioning and deployment" or system and application stacks. The ultimate goal of some automation projects is the so-called "Zero-Latency Data Center", while for others it may just be sending alerts based on certain events. More information can be found here.

638 questions
3
votes
3 answers

What are my automation options with VMWare ESXi 3?

We have a brand new Dell 28-something-or-other that is running bare metal VMWare ESXi 3. I'm getting conflicting information on whether there's a command line console for things lke creating new VMs, etc. I want to be able to automate (preferably…
Otto
  • 2,051
  • 3
  • 17
  • 11
3
votes
3 answers

How can I locate Registry key for Group policy settings?

How can I locate the registry entry for the below values Perform volume maintenance tasks Lock pages in memory under Local Computer Policy\Computer Configuration\Windows Settings\Security Settings\User Rights Management . I tried the below 3…
3
votes
1 answer

Automated testing in virtual machines using Hyper-V

I was tasked to automate our department's testing process. To do the testing I first have to install a setup of our application on the host system and run another application, the tester, afterwards. The tester application uses an ActiveX control to…
TorbenJ
  • 213
  • 1
  • 2
  • 7
3
votes
1 answer

How to tell (in Powershell) whether Install-ADDSForest is complete?

I have a powershell script that runs Install-ADDSForest to set up a lab environment. The script is actually run via VMware tools. During the Install-ADDSForest process, the Windows server (2012) will restart, which is fine. And I can wait for VM…
AnotherHowie
  • 206
  • 3
  • 13
3
votes
1 answer

Powershell - Compress-archive consuming all memory

Im new to powershell and scripting. I'm trying to compress IIS Log files (60GB total) using compress-archive cmdlet, however everytime I get the error: "Exception of type 'System.OutOfMemoryException' was thrown." I've already adjusted…
joebegborg07
  • 869
  • 5
  • 16
  • 24
3
votes
1 answer

Ansible JSON Output

Could you please help me fetch Ansible-Playbook output in a JSON Format. I do get a JSON output if I set stdout_callback variable as "json" in ansible.cfg But that output is not in realtime. The result is shown when the whole playbook is executed.…
Akshay
  • 123
  • 1
  • 2
  • 5
3
votes
0 answers

Automatic on premise server deployment

I'm new to automatic deployment and would like guidance from experts on the the best way to efficiently deploy approximately 75 vms (both windows and linux vms) on 7 vmware esxi 5.5 hosts (All hosts are at the same site) . The hosts may be insatlled…
joebegborg07
  • 869
  • 5
  • 16
  • 24
3
votes
2 answers

Set-AzureRmAutomationModule is unable to find Automation Account

I am trying to upload a custom DSC module to our Azure Automation account. C:\Code\Epitec DSC [master ≡ +1 ~1 -1 !]> Set-AzureRmAutomationModule -Name "WindowsUpdate" -ContentLinkUri "{ContentURL}.zip" -ResourceGroupName "OI-Default-East-US"…
Lloyd Smith
  • 231
  • 3
  • 9
3
votes
2 answers

Rapid deployment of similar VMs

We're rolling out a new testbed in the office, and need to spin up ~30-40 Linux VMs (mostly RHEL 5/6, some SuSE). Running on VMware ESXi 5.5, we'd like to automate the process. There's a pre-made answer file for the installer, the question is how to…
3
votes
3 answers

Send simple HTML email from command line?

I have a cron job which produces a list of resource, expiration date and the days until expiration. The report produces a CSV file. I attach this to the a message using mutt -a report.csv. I also want to include information in the body of the email.…
Doug Harris
  • 267
  • 1
  • 4
  • 10
3
votes
3 answers

automate generation of SSL certificates

How I can automate the generation of self signed certificates when I know the domain name ? This works, but it asks me on the command line prompt certain questions. How I should change it to ignore the questions and automatically enter the FQDN ? #!…
astropanic
  • 307
  • 2
  • 5
  • 18
3
votes
1 answer

windows update configuration from command line

I'm building a script to rebuild a server from scratch. I want to configure Windows Update as below. I can set the first option using reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t…
Madushan
  • 738
  • 6
  • 7
3
votes
2 answers

How to do automated FTP backups - and how to restore them?

I'm currently using a Virtual Server running Ubuntu Linux. The company hosting it does not do any kind of backups, but they offer me the oppertunity to do backups via FTP. Therefor, I get access to a FTP share of equal size to my primary server…
Lena Schimmel
  • 165
  • 1
  • 11
3
votes
1 answer

Consistent Install Disk Selection in RHEL Kickstart

In my kickstart installation I specify that the operating system should be installed on /dev/sda. We have some Dell machines in our environment with iDRAC. When virtual media is attached in iDRAC, it maps Virtual CD drives and Virtual Floppy drives…
3
votes
2 answers

Suppress chrome's first-time dialog on linux

I'm trying to install google chrome using puppet on a bunch of linux machines (SLES 12) and I don't want any dialogs that the user has to answer before they can start browsing. This is mainly because the "user" will be Selenium and it doesn't like…
Josh Gagnon
  • 755
  • 1
  • 5
  • 6