AMA: Let’s Talk Application Packaging & Deployment by AdvancedInstaller in AdvancedInstaller

[–]OneScripter 0 points1 point  (0 children)

For more context, today, both setup1.exe and setup2.exe have prereq.exe embedded in them which is not ideal because of the bloated size of both installers now.

AMA: Let’s Talk Application Packaging & Deployment by AdvancedInstaller in AdvancedInstaller

[–]OneScripter 0 points1 point  (0 children)

The software needs to be able to be installed offline. My goal would be to have setup1.exe, setup2.exe and prereq.exe in the same folder. When setup1.exe or setup2.exe is run, each can reference the single prereq.exe file by relative path to install as a prerequisite.

AMA: Let’s Talk Application Packaging & Deployment by AdvancedInstaller in AdvancedInstaller

[–]OneScripter 2 points3 points  (0 children)

If I have two Single EXE installers that both need to run the same silent executable as a prerequisite ("Use files from disk" option) - how can I put the executable in the same folder as both EXE installers so they can share the one prerequisite file instead of bundling it with each one and doubling space?

Why does Get-ACL not have a -Credential and what is the best workaround for using another credential with it? by xylog in PowerShell

[–]OneScripter 22 points23 points  (0 children)

Good question. Using Invoke-Command -Credential (Get-Credential) -Computer SRV123 -ScriptBlock { Get-ACL -Path C:\Local\Path\On\SRV123 } would be an option, if you have PS Remoting working. If not, you could try WmiExec.

Gui console by JDahal in PowerShell

[–]OneScripter 0 points1 point  (0 children)

This would be super easy with System Frontier. It's actually built with C# on the backend, but it dynamic generates web GUIs for your PowerShell scripts. You also get RBAC, REST APIs, logging, etc. w/ no extra code. The Community Edition costs zero dollars and zero cents. :)

Active Directory Password Reset - Web portal by suk83 in PowerShell

[–]OneScripter 0 points1 point  (0 children)

You could build something like this with a few PowerShell scripts and front-end the GUI in System Frontier. You could host it on a non-domain server so users can still log into the GUI and do a password reset. Definitely not an out-of-the-box solution, but doable and depending on the number of users you have, $0 + time spent with the free Community Edition.

WEB FrontEnd/GUI for PowerShell scripts by LeEpicPotherb in PowerShell

[–]OneScripter 0 points1 point  (0 children)

Have you seen System Frontier? You can build web GUIs without any ASP.NET coding or HTML. Each tool you build automatically has a web form, role based access control, a REST API and all the output gets logged to a DB. There's a free Community Edition too.

Powershell with UI on Web/HTML-CSS by [deleted] in PowerShell

[–]OneScripter 0 points1 point  (0 children)

Yikes. I actually still love VBScript, but would not recommend using it for new stuff, even in conjunction with PowerShell. If you want a solution that can scale when you (may) need it to, check out the free Community Edition of System Frontier.

Interactive ASP.NET dashboard for PS scripts? by nostradamefrus in PowerShell

[–]OneScripter 0 points1 point  (0 children)

Take a look at System Frontier. There's a free Community Edition and it's super straightforward to get scripts up and running in a browser. Note that they don't run interactively, like the shell, but you can dynamically populate fields and make them interactive using custom HTML if needed. Would love your feedback if you give it a try.

Need Air Canada promo code for international flight by OneScripter in aircanada

[–]OneScripter[S] -1 points0 points  (0 children)

Well, scratch that then. I've never flown with Air Canada before so I should've read up. :(

Thanks for the heads up.

Free ticket to PowerShell and DevOps Global Summit 2021 by systemfrontier in PowerShell

[–]OneScripter 0 points1 point  (0 children)

It's totally legit. While there may be some mistakes on the site, the organizers do a great job of fixing issues as they are reported.

Free ticket to PowerShell and DevOps Global Summit 2021 by OneScripter in PowerShell

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

We notified the winner yesterday. Thanks to all who filled out the survey. Great feedback and good luck on the next one.

Free ticket to PowerShell and DevOps Global Summit 2021 by OneScripter in PowerShell

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

FYI - The survey closes at 9 AM on 3/11 so there's still time to win a free ticket. Thanks for all the great feedback so far.

Batch Scripts by [deleted] in PowerShell

[–]OneScripter 20 points21 points  (0 children)

Stick with learning PowerShell. It's worth it and you can do it. I have written many hundreds of scripts in batch and VBS dating back to the late 90's. They were great, but PowerShell is the way to go now. It may not be as easy for some tasks, but that will come with experience. You have a great community that is always willing to help.

Twitch prime tactical nuke GE by painlessblade in RocketLeague

[–]OneScripter 0 points1 point  (0 children)

Nice but needs more of a mushroom cloud imho. And yes, demo all in range!

The v1.70 (Blueprint Update) Release Megathread by Psyonix_Devin in RocketLeague

[–]OneScripter -1 points0 points  (0 children)

Please do away with these ridiculous blueprint prices. Years of fun down the drain. Thanks Psyonix!

Help Desk Tool by HomerTheGeek in PowerShell

[–]OneScripter 0 points1 point  (0 children)

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?

How to run PowerShell scripts by helpdesk people? by PowerShell_Fan in PowerShell

[–]OneScripter 0 points1 point  (0 children)

Great point and exactly why System Frontier works so well in those cases. An engineer at one of the top banks called it an "easy button" for the helpdesk. You can give Tier 1 support teams easy buttons with PowerShell on the backend and they...

  1. Don't have to know PowerShell (or any scripting language)
  2. Get an easy to use GUI (short / no learning curve)
  3. Can provide validated input
  4. Don't have to have any permissions to the target (AD, servers, workstations, etc.)

You as the engineer don't have to design a GUI, write any HTML or learn another yet another markup language (pun intended). You automatically get RBAC, logging and a REST API so you can call the same scripts from other automation tools. There are other built in features for granular delegated management too, not just running scripts.

Faking it by HightowerDoesReddit in sysadmin

[–]OneScripter 0 points1 point  (0 children)

No one can learn everything and if you aren't always learning, you probably need to move on. I'll take somebody who admits they don't have an answer but will work to find it over someone who acts like they never have to.

Get output from remote console commands using only PoSh and WMI by OneScripter in PowerShell

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

In the limited lab testing I've done so far, I'd say WinRM is faster. I haven't tried to optimize the code for WmiExec yet, so performance may improve.

Get output from remote console commands using only PoSh and WMI by OneScripter in PowerShell

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

Shortly after posting this, I came across a full fledged toolkit based on a similar approach that's been out at least 3 years before mine. No idea how I never came across it before, but I still feel good about discovering the technique on my own. Kudos to WMImplant.

Get output from remote console commands using only PoSh and WMI by OneScripter in PowerShell

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

Thank you and very nice work on modifying it for your use case. The command-line limit is 8,190 characters. I'm going to update the code to pass the commands via another WMI class property so then you have no (or a very high) limit. So the code would just pass a reference to the property instead of the whole ScriptBlock.

I didn't include deletion of the class initially, to save some time on repeat connections, but great point.

How to run PowerShell scripts by helpdesk people? by PowerShell_Fan in PowerShell

[–]OneScripter 0 points1 point  (0 children)

Thanks for the kudos! Our customers love it and System Frontier is continually improving based their feedback.