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
13 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
58 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
12 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
0answers
35 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 ...
0
votes
1answer
38 views

How to make an offline Windows execute some elevated/admin task when it logs in? [closed]

I have a multi-OS machine. I need to set some executable to run automatically with elevated/admin permissions when some other OS starts, but this OS is offline. Normally I'd have created a Task ...
1
vote
2answers
47 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
47 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
48 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
39 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
53 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
105 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
27 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
82 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
49 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
22 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
55 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
70 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
106 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
225 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
78 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
47 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
44 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
50 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
81 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
82 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
32 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
97 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
118 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
56 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
57 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
42 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
339 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
127 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
34 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
117 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
79 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
30 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
47 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
187 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
83 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
3k 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
44 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
80 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. ...
1
vote
1answer
697 views

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

Tools for heterogeneous systems and way to start MySQL cluster automatically

I'm trying to auto start of MySQL Cluster. There are several nodes and several distinct processes, and I must start them in the proper order. Firstly, I must start ndb_mgmd on management nodes, ...
3
votes
2answers
863 views

Retrieve Information from Cisco router in Parsable Manner

I'm trying to write a script that will pull configuration files over SSH from Cisco routers and parse them, so I can ensure that they meet predefined standards (e.g. password shouldn't be "cisco"). ...
2
votes
1answer
52 views

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 ...