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

learn more… | top users | synonyms

0
votes
1answer
15 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
2answers
44 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 ...
1
vote
3answers
35 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
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
40 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 ...
-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
159 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 ...
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 ...
1
vote
2answers
67 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
68 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
2answers
52 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
54 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 ...
0
votes
1answer
92 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 ...
6
votes
1answer
133 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 ...
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 ...
1
vote
1answer
146 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
57 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
62 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 ...
0
votes
0answers
86 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
132 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
0answers
14 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
16 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
5answers
242 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
1answer
99 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 ...
-1
votes
1answer
49 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 ...
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
vote
1answer
58 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 ...
0
votes
1answer
94 views

Powershell cmdlet requesting optional parameters as mandatory when running as script

I am trying to use powershell to create a script which I use to add vpn connections to windows 8.1 machines. For this microsoft has made the add-vpnconnection cmdlet. When running add-vpnconnection ...
3
votes
1answer
93 views

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 ...
0
votes
1answer
34 views

Shut down syspro 7 processes

We have nightly backups run on our Windows Server 2012 R2 sys pro 7 server. Having the syspro processes running during backups can cause file lock issues and other errors. Does anyone know a way we ...
0
votes
2answers
130 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 ...
0
votes
1answer
144 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
0answers
59 views

Automatically configure networking on new VM in XenServer

We have a base RHEL 6.5 64-bit template that we use to create new VMs in XenServer. Every time we make one, we have to configure: /etc/hosts /etc/sysconfig/network ...
1
vote
1answer
59 views

What is the best way to distribute a rsa ssh key over a large amount of servers?

I know one way, running on a list of server like so: for server in $(cat server.list); do ssh-copy-id user@host done But I was wondering if there's a better way to do it? something automatic which ...
0
votes
0answers
43 views

How can I use chef to configure a basic system starting from a template?

I am working on the setup of a new virtual infrastructure that will eventually become the production one. I am at the very beginning and I want to use Chef as automation tool. I've already worked with ...
2
votes
1answer
396 views

dsadd run from batch file fails with “The specified account already exists” when there is no existing account with the same dn

I am programmatically creating thousands of test users from a txt file containing First Name, Last Name, Username, and Password using the following command (saved as a batch file, run in cmd, modified ...
0
votes
1answer
188 views

Automate Byobu window creation [closed]

I use Byobu on a Vagrant dev machine to run multiple things in one screen and to be able to suspend/restore the machine and continue where I left off the other day. There are times when I have to ...
0
votes
2answers
35 views

How to find the --configure string once the software has been installed and the source code is still laying around? [closed]

Here's a typical scenario - you install software from source, spend an hour figuring out the configure options, and finally run: ./configure --prefix=/a/b/c --with-X --with-Y=/usr/local/Y/lib \ ...
2
votes
0answers
130 views

How can I run a delegated task for an offline host using Ansible?

I have Ansible tasks for enabling and disabling Nagios checking for some hosts. They use "delegate_to" the Nagios server. However, I can't use them when the host in question is offline, because ...
0
votes
1answer
84 views

How do I keep process running in the background, even after a machine reboot?

What is the way to keep some process running (web server, database and so on) in background, and be sure that in case of system reboot it will start immediately again? I'd like to have this feature ...
0
votes
1answer
31 views

How to test if a particular version of php executable is available on a server?

An automatic upgrade Bash script requires PHP executable 5.3+, how do I ensure that is the case in the upgrade script? I'd like the script to quit and generate some message into the log when php 5.3+ ...
0
votes
1answer
50 views

Version Lock Ubuntu Repository

I found some duplicates of this question, but none of them answered exactly the thing I want to try. I have one QA and one production server managed by chef solo. I want to version lock the apt ...
1
vote
2answers
223 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

Windows DHCP/DNS/AD - Retrieve/Store/Manage IP Addresses

We're using a windows 2012 R2 server as DHCP/DNS/AD. I would like to use a tool, that enables me to retrieve every IP addresses that are in use, and DNS register and/or hostnames associated with. ...
-1
votes
1answer
68 views

Best practice for organisation wide user management [closed]

We have a green fields environment (kinda) in which our Active Directory is currently the most canonical source of people information. As our organisation grows to 400+ employees we need a way to ...
10
votes
1answer
4k views

How do I run my PowerShell scripts in parallel without using Jobs?

If I have a script that I need to run against multiple computers, or with multiple different arguments, how can I execute it in parallel, without having to incur the overhead of spawning a new PSJob ...
-1
votes
1answer
45 views

Powershell Security Groups

Active Directory via powershell want to add users to a specific group. But that is a member of a particular group of users that other members do not want to be included in the relevant group. For ...
1
vote
1answer
82 views

Apt-dater: Keep specific packages from updating

I am using Apt-dater to manage updating of Ubuntu servers. I have some packages that cannot be updated but want to still update everything else on those servers. I wonder if Apt-dater supports this. ...