15
Kino
5y

First rant, technically a sysadmin but getting into the nitty-gritty of programming with some things to improve my job (and hopefully moving into something more technical).

Have been doing a paid internship at my utility company. I do patch management with SCCM and sometimes the updates break. I've been using Powershell to reset the Windows update cache to make the computers work again. Unfortunately, this sometimes involves logging into machines to do some manual work and I have to notify users before I log in if they're already logged in.

Scripts can be run silently but I've spent a few weeks trying to automatically retry Software Center updates with Powershell … before realizing just today that the system center action "Application Deployment Evaluation Cycle" does indeed do the thing I've been attempting to do with Powershell for weeks now.

Wish me luck as I automate that part of the process and completely automate the sole job they gave me to do. Don't tell on me!

Comments
  • 1
    Dont worry i wont tell on you :p

    Welcome to DevRant
  • 1
    Welcome to devRant!
  • 1
    Whats your experience with powershell so far?

    Haven't used it yet and just want to know.
  • 2
    @Wisecrack From the perspective of someone with no professional experience with programming and only a semester of formal education and training in Java/SQL/Python (all the same semester), I really like PowerShell. Maybe it's due to the lack of alternatives but I use it a lot to automate tasks I see myself doing often.

    I've made scripts for small things like resetting Windows Update and ran bigger scripts for finding machines with certain errors and adding them to an SCCM collection (technically WQL but it piggybacks off of PS). I've been working on disk cleanup and disk partition scripts as well. For the only programming language I've been using professionally it does what I need it to do without much trouble, though I don't know what makes a good language just yet.

    My two massive cents.
  • 1
    @Kino

    > I really like PowerShell. Maybe it's due to the lack of alternatives

    "I live in north korea. I like x. We only have x to choose from."

    lol. made my fucking day.
Add Comment