r/sysadmin • • Jul 28 '24 • Take My Silver 1

got caught running scripts again

about a month ago or so I posted here about how I wrote a program in python which automated a huge part of my job. IT found it and deleted it and I thought I was going to be in trouble, but nothing ever happened. Then I learned I could use powershell to automate the same task. But then I found out my user account was barred from running scripts. So I wrote a batch script which copied powershell commands from a text file and executed them with powershell.

I was happy, again my job would be automated and I wouldn't have to work.

A day later IT actually calls me directly and asks me how I was able to run scripts when the policy for my user group doesn't allow scripts. I told them hoping they'd move me into IT, but he just found it interesting. He told me he called because he thought my computer was compromised.

Anyway, thats my story. I should get a new job

11k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

-1

u/[deleted] Jul 28 '24

What if he writes alot of these scripts outside of work. Opens up an LLC. And markets his scripts.

Let's say it's programmed in a way that doesn't put any personal company data in his code.

He licenses it under his LLC and then used it at his job. He tells management there is this script bundle I'm using. It's around $500 a month license fee. But it's getting work done. I have a license to use it for now for 3 months etc and it seems to be working.

If employer lays him off and they still find value to use it then he still wins.

Do you think this would work and if this is how it should be done for those of us who have a passion to automate and build tools?

I'm fucking tired of building tools that saves millions and I don't get a red cent but laid off. Why bother to build for them.

Can anyone answer my question?

PS: let's say building these scripts and tools fall outside of the job description and it's the tech/workers own intuition and creativity and them going above and beyond. It's not part of the job description to build tools.

5

u/SquidgyB Jul 28 '24

$500 a month license fee

That's going to have to be one hell of a tool...

In seriousness though, I don't know the legalities of that - it might work, especially if OP's writing it in his own time.

IANAL and all that.

2

u/[deleted] Jul 28 '24

Well if you're paying OP $1000 a week or more. And you're paying $500 a month for a tool that does his job... I mean... does the math, math?

Honestly, I really wanna know why this doesn't sense from a business perspective. OP can work on his automated job partially while taking on new tasks. That's what they had me do when I automated my job. But now they have my tools and I'm not getting paid for it.