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

learn more… | top users | synonyms

2
votes
0answers
11 views

How do I install Firefox with preconfigured toolbars? [migrated]

I have a custom Red Hat 6 kickstart disc which installs and configures a workstation as a control system. We use Firefox (at the moment: the 31.4.0 long-term release) to allow the system maintainer ...
0
votes
1answer
17 views

Add existing hosts to hostgroups in Nagios

How can I add existing Hosts to HostGroups in Nagios XI, automatically? For example, I have an existing 100+ Windows servers that I want to add to a hostgroup called "Windows".
1
vote
3answers
39 views

Debian preseed.cfg - Language not set

I'm trying to write a preseed.cfg which should be used for a full automated installation of Debian wheezy. For some reasons the installer is still asking to select a lanugage even if I set this in my ...
1
vote
2answers
48 views

password check in bash script calling on expect

Background: I have to copy a file from one server, to over 100 servers in a test environment. once the file is copied, it requires to have the permissions on the file changed/verified. These are all ...
3
votes
1answer
52 views

Procurve script/automation

This may be a stupid question, but I'm normally not a network admin, but circumstances have me there. I'm trying to disable down ports on a switch, but have a boatload of them, I'd like to configure ...
4
votes
1answer
1k views

Expiring Inactive User Accounts

I want to have some method of determining which user accounts have remained unused for a certain period of time, lock the accounts, and then after a further period, delete the accounts (notifying the ...
1
vote
2answers
1k views

How to automate PDF printing

I'm looking to automate the printing of PDF's from a Windows 2008 Server to an IPP Printer. Are there any options for PDF printing built directly into the OS? Does anyone have experience with good ...
1
vote
0answers
17 views

YAML parser from bash [migrated]

I am developing a pre-prod server for Symfony2 app I made a little hook script to update all of my git repository which containts Symfony app. #... # Save old database DATABASE_NAME=`CMD to Yaml ...
1
vote
0answers
45 views

How to increase heap size for ws_ant.sh when deploying on WebSphere 8.5 (64-bit Linux)

TL;DR -- How do I give ws_ant.sh and/or the <wsInstallApp> task more heap at runtime? I am attempting to deploy a relatively large (~160-MB) EAR file to WebSphere 8.5 running on a 64-bit Linux ...
4
votes
5answers
3k views

How can I disable a scheduled task using Powershell?

I have a web application that runs on Windows Server 2008 R2, which has a large number of scheduled tasks which take care of all the backend stuff. When I do a software deployment which touches the ...
-2
votes
0answers
16 views

running GUI application in the background

I was asking if it's possible start windows applications in the background and fully automate them (simulate mouse clicks and key strokes) but none of these should be seen, actually I want to display ...
3
votes
3answers
180 views

Use Script To Edit Local Group Policy Windows Server 2012

I'm hardening a Windows Server 2012 R2 machine for serving secure web pages and following a guide that lays out multiple Local Group Policy Settings and Registry Settings. When researching how to ...
1
vote
0answers
17 views

Process-wide VPN connection via openconnect

I'm using openconnect to connect to a remote endpoint and SSH onto the machine inside the remote network. The problem is, when I do create the connection, the machine I do it on is unresponsive for ...
1
vote
2answers
69 views

How risky is storing credentials on disk in a Powershell SecureString?

Basically, I want to cache the credentials needed for New-PSSession and make them available to scripts so they don't have to nag a human. If I use export-clixml or similar to store a PSCredential on ...
0
votes
0answers
71 views

How to download files from my MSDN subscription using Powershell?

In order to install Microsoft software in my Azure labs, I'd like to grab the ISO files directly from Microsoft, as speed is so much better than downloading from my own repository. One example is ...
0
votes
1answer
104 views

Is it possible to execute Azure automation runbook on Visual Studio?

I am considering about two cases. One is edit runbooks on Visual Studio, then execute them to perform Automation task directly. Another one is that edit runbooks on Visual Studio, then I use ...
0
votes
2answers
54 views

using powershell ; from a given location a of folder i want to validate and show the number of specific filetypes respective folder

Using powershell from a given location a of folder I want to validate and show the number of specific filetypes respective folder. I tried using the command to count the number of files in a folder I ...
0
votes
1answer
58 views

Trouble with embedding html email with PowerCLI/Powershell for gmail

I am new to Powershell, I am a junior admin for a VMware environment. I am trying to automate a weekly report for snapshots in PowerCli. I am making the script in Powershell. I have made a simple ...
1
vote
1answer
843 views

Multiple related resources in chef recipe

I need to run some commands depending on a result of previous execution, which again depends on some package being installed. On the first run, I'd expect something like: install package "XXX" get ...
2
votes
2answers
1k views

My PowerShell script won't save to file when running 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 is that the new file is never created/saved. ...
7
votes
3answers
21k views

Adding a user to the local Administrator group using powershell

I would like to use PowerShell to add a specific 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 ...
1
vote
3answers
2k views

Auto upload to FTP server

I have two users local to an office that need to scan documents then have them automatically upload to their remote Terminal Server. I can set the scanning software to save the files to a certain ...
0
votes
1answer
100 views

How to automate input for a repetitive script! Expect in Bash?

I am a junior sys admin. Reason I'm asking this question is because we don't have a senior sys-admin here who is proficient with scripting. Senior guys are at the head office and too busy for ...
2
votes
0answers
125 views

Creating an Openstack user with only reboot permissions

What is the best approach for setting up an Openstack user that is limited to only rebooting servers using the Web API. The user needs to be able to access servers under different tenants, by using ...
8
votes
4answers
2k views

How to automate slipstream?

Since years I use slipstreamed Windows installations. This works very well, but preparing them is tedious : 1 - install a Windows with the last slipstreamed version we have (automated install) 2 - ...
2
votes
1answer
165 views

HPSA (HP Server Automation) [closed]

Using HP SA (HP Server Automation) version 9 for automation and its Oracle database consumes inordinately large amounts of CPU resources. Anyone have a similar experience?
6
votes
1answer
136 views

How can I modify an existing scheduled task using Powershell?

I am working on some release automation scripts that use Powershell to update existing scheduled tasks which execute various applications. In my script, I can set the Path and Working Directory of the ...
1
vote
3answers
209 views

How Do I Automatically Update My Database Nightly

Currently, every day before I start work, I complete the following procedure: ssh to the production server gzip our daily database dump file scp the gzipped dump file over to my computer gunzip the ...
2
votes
3answers
367 views

git clone - fail instead of prompting for credentials

When cloning git repositories in automated tools - web front ends, CI systems, sometimes the git clone invocation opens up a prompt asking for the username and password (for example, when cloning a ...
0
votes
1answer
28 views

Recommended way to update config values in an automated way?

To give some context, I have a build server task that requires updating a configuration file (in yaml format) field value and pushing to a repo to be used later.My immediate thought was to use some ...
4
votes
2answers
3k views

Why can't “knife data bag from file” find existing json file on chef server?

Summary: I'm running into a problem with "knife data bag from file", where knife doesn't recognize the .json data bag file pulled down from a remote git repo. Background: I'm currently trying to ...
5
votes
3answers
246 views

How automatically download current versions of popular software? (like Acrobat, Firefox, Opera)

I'd like to provide LAN users access to set of useful and popular applications (like Acrobat, Firefox, Foobar, putty) but there is one problem - such software is released every few weeks or even ...
1
vote
1answer
157 views

Configuring Pfsense via ssh

I want to know how i can completely configure and add add tables to pfsense via ssh. my goal is to have a web installer that configured multiple system and based on the output it will configure the ...
2
votes
1answer
58 views

Restarting HP 1810 without writable SNMP?

I have been tasked with finding a way to reboot all of my switches for a bunch of small satellite sites every night when everyone is gone. I have HP 1810-26G switches at most of the sites, which is ...
1
vote
2answers
25 views

File Changelog Generation Windows Server 2012

I am wondering if anyone might know a way I could set up the automatic generation of a file changelog in a directory in windows server 2012. We have a collection of word, excell, and pdf files that I ...
0
votes
2answers
65 views

Automation and full-disk encryption

I know that the title seems to be completely contradictory, but allow me to elaborate. Reading Bruce Schneier's recent article on data deletion got me thinking that every server should have full-disk ...
1
vote
2answers
227 views

How to automate GPG file decryption over SSH?

I would like to use GnuPG to decrypt short messages that are stored on a remote host (running Linux), i.e.: ssh [<user>@]<host> gpg -d <file-to-decrypt> interact with gpg-agent ...
0
votes
0answers
89 views

How to run a job multiple times in Autosys

I have an SFTP job that downloads a file from a remote site. The remote file may be available any time between 10 - 11 am. I need to configure the autosys job in such a way that it retries in case of ...
1
vote
0answers
135 views

Stop automatic reboot with gpedit shutdown script in Windows 2k8

I am search for a way to validate and maybe stop an automatic reboot under windows. E.g. automatic reboot is initialized by windows update. When adding a shutdown script with gpedit this script gets ...
0
votes
1answer
149 views

How can I perform mass provisioning of Debian Guest VMs on XenServer?

There are a number of tools for provisioning physical and virtual servers, but I can't see a well documented solution for provisioning XenServer Debian guests, apart from using XenCenter itself. With ...
0
votes
5answers
245 views

Can you use powershell to “spin up” new VM instances

Learning powershell and working on creating VMs with Hyper-v. I was wondering is there a way or an ideal way to go about installing/setting up guest operating systems as well with it? So far the only ...
0
votes
0answers
15 views

EC2 UserData analog for Windows on ESXI

Are there any analog of the ec2 user data for the Windows on ESXI? I want to solve following task: when new instance starts at the first time on ESXI hypervisor it need to be bootstraped with some ...
0
votes
0answers
18 views

Automated the reflection connecting process by taken connection details from file

How to automate the Reflection connection? For example In order to connect to linux1 machine I need to do the following manual steps Open reflection window --> click on connection setup button ...
0
votes
2answers
134 views

Acronis post-command query backup status

I would like to perform an action when the backup completes successfully (but not when it fails). Is there a way to pass the backup status into a post-backup command? Or an environment variable I ...
2
votes
1answer
127 views

How to automate an installation of Phusion Passenger and Nginx?

When the command: ./passenger-install-nginx-module is run, it asks a bunch of questions when logged in to the server. The aim is to automate this process, how can this be done if it requires ...
2
votes
1answer
45 views

Auto-upgrading similar VM guest OSes

Is it possible to handle automatic upgrades of VM guests which differ only in terms of config management? I'm asking about either general or specific technologies which facilitate this. In brief, I ...
-1
votes
1answer
50 views

Create user account on many servers

I have a users.txt with the following content: ip1 user1 password1 ip2 user2 password2 .... ipN userN passwordN I want to create one user on each of these servers. I want to use this script on each ...
1
vote
1answer
60 views

Knife Vsphere Password Plain text

I'm using the knife-vsphere plugin for chef to interact with our vsphere hosts. As part of the config for the knife-vsphere plugin it seems that you have to enter a plain text password which I think ...
17
votes
2answers
5k views

Automate the installation of postfix on Ubuntu

My system configuration script does an "apt-get install -y postfix". Unfortunately the script is halted when the postfix installer displays a configuration screen. Is there a method to force postfix ...
6
votes
5answers
3k views

Send message to IRC channel from bash

I have installed ircd-hybrid on my Ubuntu Server (192.168.1.2, example.com). We use #teamchannel to communicate inside the team. The question is: how can I send some short message from example.com to ...