Does a script imply Automation?
-
@gjacobse said in Does a script imply Automation?:
Simply thus
Does a script imply automation?
No. Automation means doing a task for you. A script doesn't necessarily do anything for you.
-
@scottalanmiller said in Does a script imply Automation?:
@gjacobse said in Does a script imply Automation?:
Simply thus
Does a script imply automation?
No. Automation means doing a task for you. A script doesn't necessarily do anything for you.
I disagree here, in that a script written to replace the human process is automating the humans work flow. Just because the human kicks that process off doesn't mean that something hasn't been automated.
As @Pete-S said there are different levels of automation to consider...
-
@pete-s said in Does a script imply Automation?:
For instance a motor in a car runs by itself. But that doesn't make the car automated. Because the control of the car is not automated
Except that is automated compared to where it initially started. It's very automated in the sense that I don't have to get out and crank start my car or fill it with oil after every trip because it's assumed my oil will just leak out of my engine like they did when they first arrived.
You're proving my point. Automation changes over time. What we count as automated today will just be something we take for granted tomorrow. Which is why I used the example of lower level concepts. Those used to be manual things, and are now "automated" because we don't even think about them. But we don't really call that automation.
A script that echoes "hello world" is not automation but is a script.
In my mind for it to count as automation, the work the script does has to be less than equal to the amount of work it would take to do the task manually (with the caveat that the work is useful). This would incorporate tying larger initiatives together.
And we are back to what most of the discussions are on this site, it's opinion. The person talking to Gene clearly didn't think whatever the script was counted as automation. He's fully in his right to think that because a lot will agree with him.
I'm more interested to know what the script did or is going to do and we could determine whether it should be counted as automation.
-
@stacksofplates said in Does a script imply Automation?:
I'm more interested to know what the script did or is going to do and we could determine whether it should be counted as automation.
Here is process one from when I started.
Enable Bitlocker and save to text file.
Have you ever done this via the GUI? Open Bitlocker Management, Turn ON Bitlocker, likely need to reboot for hardware check. Export Key to text file. Copy file to Network share.Now do this on several PCs back to back.
After the sixth or so time through I was over it. Having learned how to deal with Bitlocker from the command prompt - enter the script - which I would paste here if I hadn't left my thumb drives at the office.
In short it will;
- Map a network drive
- Turn on Bitlocker without hardware check
- Save key to text file with the file name of the computer name, saving to network share.
So with that, I don't have to do anything but run the batch file.
The biggest one they are fighting me on script wise is Onboarding - creating a user, assigning a O365 license, entering in the
REQUIRED
information for the EMR to work, setting the Manager, address, adding the needed Security groups for VPN, Teams, MFA, and so on. And of course, there is Offboarding that could be done as well... -
@gjacobse said in Does a script imply Automation?:
Here is process one from when I started.
...
Now do this on several PCs back to back.
After the sixth or so time through I was over it.
...Things like this are the driving force behind thousands of our scripts.
We have one that does about 4 man-hours of work all by itself. It's on a USB, and 100% of the info it needs in order to personalize a new PC is read from an onboarding database that includes the Service Tag assigned to the new employee (we only use Dell) in the info for each user.
That's about as close as a human triggered script can get to being called automation. (And it is triggered by plugging in the USB and powering on the PC)
In my opinion
Great discussion, it really shows how we have all come to interpret the same things differently!
-
@jasgot said in Does a script imply Automation?:
We have one that does about 4 man-hours of work all by itself. It's on a USB, and 100% of the info it needs
I would very much be interested in seeing it - sanitized - and to see how much of it I can incorporate into this environment... On/Off boarding is near murder right now.
-
@gjacobse said in Does a script imply Automation?:
- Save key to text file with the file name of the computer name, saving to network share.
Saving the key to a text file on a mapped share is really bad lol.
-
@gjacobse said in Does a script imply Automation?:
The biggest one they are fighting me on script wise is Onboarding - creating a user, assigning a O365 license, entering in the REQUIRED information for the EMR to work, setting the Manager, address, adding the needed Security groups for VPN, Teams, MFA, and so on. And of course, there is Offboarding that could be done as well...
What reasons are cited when they fight you on this? This should have been scripted years ago. If it's because they are working on implementing something like kace or some automation tool to do it, that's one thing but if they are just saying it has to be manual that's another.
-
@irj said in Does a script imply Automation?:
@gjacobse said in Does a script imply Automation?:
- Save key to text file with the file name of the computer name, saving to network share.
Saving the key to a text file on a mapped share is really bad lol.
Yeah especially since it's been mentioned this is an environment with higher security and PHI/PII. Mapped drives shouldn't even be a thing.
-
@stacksofplates said in Does a script imply Automation?:
Mapped drives shouldn't even be a thing.
There is only one,..and we are into the beginning stages of a full ADUC, GPO, Policy Network share audit / rebuild. The goal is to retire any share possible and move solely to ODfB
-
@stacksofplates said in Does a script imply Automation?:
What reasons are cited when they fight you on this? This should have been scripted years ago.
Can I buy you a beer, or case,.. or....
There is such a push for 'security' over
anything else
that it's Not allowed to the point of when onboarding someone, things are missed (or worse; added and not needed) so you have to retouch an account more than once.I've mentioned it since day one, made suggestions, and even found one that would cover most anything needed... It would only need to be adjusted to this environment...
It's always 'blocked' or ignored or what ever. Powershell Remote execution - even if signed - is turned off. To perform a task needed by a process we are starting (MS AutoPilot) PS is needed -
by design
.... So, I have to run it - one damn line at a time,.. and circumvent policies and such just to do the tasks needed. It's so seriously ridiculous to need and be told to perform a task - and can't because of the aire of security..... -
@gjacobse said in Does a script imply Automation?:
@stacksofplates said in Does a script imply Automation?:
What reasons are cited when they fight you on this? This should have been scripted years ago.
Can I buy you a beer, or case,.. or....
There is such a push for 'security' over
anything else
that it's Not allowed to the point of when onboarding someone, things are missed (or worse; added and not needed) so you have to retouch an account more than once.I've mentioned it since day one, made suggestions, and even found one that would cover most anything needed... It would only need to be adjusted to this environment...
It's always 'blocked' or ignored or what ever. Powershell Remote execution - even if signed - is turned off. To perform a task needed by a process we are starting (MS AutoPilot) PS is needed -
by design
.... So, I have to run it - one damn line at a time,.. and circumvent policies and such just to do the tasks needed. It's so seriously ridiculous to need and be told to perform a task - and can't because of the aire of security.....Find somewhere where you want to work. Life is too short to put up with places like that.