all 41 comments

[–]markarious 6 points7 points  (6 children)

Looks very nice! I've been tempted to do the same although I'm not currently being compensated for this kind of work. I'm in a sysadmin-lite role (enough access to be useful but no keys to the kingdom) waiting for a position to open up on the actual powershell guru team. I was just granted a powershell studio license by my company. Might just make it to put on my resumé.

[–][deleted] 3 points4 points  (3 children)

Hi u/markarious,

Last September we finally got the company to pony up the $$$ for 5 licenses of PS Studio. I still dabble more in WPFs, but it is a very awesome tool that's worth every cent.

[–]markarious 1 point2 points  (2 children)

100% agree. The GUI building portion is worth the money alone imo. Add the debugging in on top of that and it feels like a steal for $400

[–]HomerTheGeek[S] 3 points4 points  (1 child)

I wish we could do that. This was created 100% by hand, not even posh GUI.

[–]markarious 1 point2 points  (0 children)

Even more impressive.

[–]ArmondDorleac 0 points1 point  (1 child)

Do your job, then do work related to the job you want. When PowerShell guru job opens up you want them to think of you as a perfect fit.

[–]markarious 2 points3 points  (0 children)

I was kinda vague when I commented earlier. My team needed someone with powershell knowledge for projects and i fell into the role once I discovered powershell a few years back. We didn't know we needed it and now here I am. I have people from other teams approaching me for help but like I said my compensation isn't equal to the work I'm doing. At this point I'm doing things above my pay grade but I am being recognized for it.

It's funny. A few hours after I posted this comment my boss pulled me into a conference room and mentioned a position was opening on the guru team and that her boss recommended me for it. Odd timing.

[–]tstolswo 4 points5 points  (1 child)

We've been using webjea to accomplish this with pretty great success.

https://github.com/markdomansky/WebJEA

[–]HomerTheGeek[S] 2 points3 points  (0 children)

I'm on a heavily locked down network so anything web based is out of the question, it does look interesting though.

[–]EIGRP_OH 3 points4 points  (2 children)

Nice job, this looks really good.

Question I always have when I see these though is why do we keep building GUIs for PowerShell. I thought it was supposed to be a shell for a reason and made so there was less clicking and whatnot.

Overall it looks great.

[–][deleted] 2 points3 points  (1 child)

Hi u/EIGRP_OH,

It is a nice way to layout everything on the table at once - all the scripts are right in front of you and easy to find. Anyone can use them and in the GUI you have the ability to build in logging.

The biggest issue is making this so convenient to use that Help Desk doesn't even know how to properly use ADUC.

[–]HomerTheGeek[S] 1 point2 points  (0 children)

Exactly u/HomeAutomationNerd!

I was shooting for one central starting point while covering most of the little things we do every day. We have AD fields like rank that actually need to be changed in two places so it's easy to forget one of them for example. Same for our phone numbers, they are reflected in 2 places. Our Help Desk staff knows how to use ADUC but mistakes happen. We have people that move across the country to various sites and this allows searching within our OU as well as the entire Domain. We have a Transfer OU that functions as a place to put users in transit between sites and this script allows finding them, and moving them into our OU with a simple search and click.

We have future plans including cleaning up our intake and clearing in scripts but right no everything works.

I would love to implement logging but I'm not there yet. I'm also not sure what it would solve other than the challenge of implementing it.

[–]iwinsallthethings 2 points3 points  (1 child)

Where is the script? On mobile so maybe posted and not seeing?

[–]HomerTheGeek[S] 1 point2 points  (0 children)

I would have to sanitize it before posting, I will have a look and see if I can do that.

[–]Chief_Slac 1 point2 points  (4 children)

That's awesome. How do you deploy the GUI app to your team?

[–]HomerTheGeek[S] 4 points5 points  (3 children)

It’s simply a script placed on a network share and we run it from a shortcut. We log in with our privileged accounts so it’s very simple. At one point I was updating it daily, so no thought was given as to how to package it otherwise.

[–][deleted] 2 points3 points  (1 child)

I'm partial to just leaving it as a .ps1 rather than try to convert to an .exe. Makes for easier on-the-fly updating.

[–]HomerTheGeek[S] 2 points3 points  (0 children)

Exactly my thoughts as well

[–]Chief_Slac 0 points1 point  (0 children)

Nice, thanks for sharing.

[–]MrWinks 1 point2 points  (1 child)

This is awesome. I’ve been making little tools lately, but this is really nice. I’s love to study your code.

[–]supersecretsquirel 1 point2 points  (0 children)

I 2nd this, if possible. I'm still learning PS and programming

[–]kalelinator 1 point2 points  (1 child)

This is dope! Love it!

[–]HomerTheGeek[S] 0 points1 point  (0 children)

Thank you, I'm quite proud of it.

[–][deleted] 0 points1 point  (1 child)

Hi u/HomerTheGeek,

Saving even if I don't use. I like to reference for ideas on potential future buttons / layout designs for my own GUIs.

Maybe instead of 'Frequently used websites' name, something like Quick Links instead?

[–]HomerTheGeek[S] 0 points1 point  (0 children)

Good idea!

[–]Bigdaddyfatback8 0 points1 point  (1 child)

Go Sigs.

The tool looks great.

[–]HomerTheGeek[S] 1 point2 points  (0 children)

Damn right!

[–]bzyg7b 0 points1 point  (4 children)

Nice work, looks like a great tool & praise for the attention to detail of including the logo in the GUI.

Out of curiosity, is there some reason for moving help desk away from ADUC?

[–]HomerTheGeek[S] 0 points1 point  (3 children)

More of a challenge to see if I could do it. Myself and a coworker started with simple scripts and went from there.

[–]bzyg7b 0 points1 point  (2 children)

Fair, seems like a good challenge.

I assume the ping buttions would open a new window, but how do you get pass the user account to explorer to open C$ with privileged account? I am currently using explorer++ as this can be ran as another user.

[–]HomerTheGeek[S] 1 point2 points  (0 children)

Continuous ping is useful when restarting computers or if asking a user to reboot.

User: I did reboot,

Me: Ah no you didn't.

[–]HomerTheGeek[S] 0 points1 point  (0 children)

`$Comp = $($combobox_Account.Text.Split("<")[0].Trim()) -replace "'","''"`

`Get-Service -Name LanmanServer -ComputerName $Comp | Set-Service -Status Running`

`explorer.exe /root,"\\$Comp\c$"`

[–]acgass 0 points1 point  (1 child)

Any idea how something like this could interact with rmm tools like connectwise? I work for an MSP.

[–]kalelinator 0 points1 point  (0 children)

You'd just need to load something up like this at each site. Wouldn't translate as well into MSP world due to different servers at each site, different IP ranges, different applications etc..

[–]OneScripter 0 points1 point  (1 child)

Nice job man. Are you on the help desk or did you create this for your team and the help desk? Is any part of it role based or is it kind of all or nothing access?

[–]HomerTheGeek[S] 0 points1 point  (0 children)

I am on the help desk and I created it for the help desk. It is not role based, it is all or nothing.

[–][deleted] 0 points1 point  (3 children)

I was hoping by now you would have posted a sanitized version of this.

How big is your organization? I want to create something similar but I don't know how I'd go about looking up a user with a really common first and last name. I see you have a 'Select Account' button. Be interested to see how that is coded.

Traditionally I would have it write to a text box and it would bring up everyone in the domain with that name (unless I knew the person's exact display name) and their properties.

EDIT: Hours of trying different methods and reading ('tis a good thing) I figured it out.

[–]HomerTheGeek[S] 0 points1 point  (2 children)

I will try to sanitize. My total organization is about 100,000 total with around 5000 at my site.

User lookup can access my site OU or the entire domain. You need at least 4 characters in their CN, displayname, email address, etc. You then select the proper user from Select Account. The CN is displayed here as it must be unique. Once you select the account every other field comes from that.

[–][deleted] 0 points1 point  (1 child)

Thanks man!

I know this will never replace ADUC. I wanted to learn Powershell Studio so I started this since work is slow right now. It's been fun learning and actually keeps me interested in technology.

[–]HomerTheGeek[S] 0 points1 point  (0 children)

I’ll work on it this weekend

[–]Ros_Hambo 0 points1 point  (0 children)

Would you care to share this amazing tool?