Jordi Adoumie
Jordi Adoumie
  • 7
  • 25 300
Creating the BEST Advent of Code Workflow with PowerToys and WSL
In this video, I'm going to show off how to use some of the newest Power Toys utilities to improve your Advent of Code workflow this holiday season 🎄🧑‍🎄❄️.
Advent of Code: adventofcode.com/2024
PowerToys Docs: learn.microsoft.com/en-us/windows/powertoys/
AOCD Python Library: pypi.org/project/advent-of-code-data/
Setting Up Session ID: github.com/wimglenn/advent-of-code-wim/issues/1
one click magic: (0:00)
intro to advent of code: (1:07)
set up wsl aocd python library: (3:06)
powertoys magic New+: (8:00)
powertoys magic Workspaces: (9:59)
ITS ALIVE!: (13:04)
outro: (14:05)
มุมมอง: 756

วีดีโอ

Framework 16: The Laptop Designed to Be Taken Apart
มุมมอง 2K7 หลายเดือนก่อน
I just got the FW 16 as my new daily driver! I took some time to share the different configurations that I'm planning on using, going through the unboxing, and showing how to configure various modules on the computer - it's awesome. I hope you enjoy! intro: (0:00) config 1, 2 black spacers: (1:18) config 2, 2 color shift spacers: (1:33) config 3, 2 color shift spacers left aligned: (1:55) confi...
How to Customize WSL & CMD in Windows Terminal with Oh My Posh!
มุมมอง 12K9 หลายเดือนก่อน
We're going to fully customize WSL (Ubuntu Bash Shell) & CMD from scratch using Oh My Posh! If you haven't already setup PowerShell and would like to do so, check out my other video where I'll get you set up in just 5m: th-cam.com/video/yxzYixOmPHg/w-d-xo.html You can also check out how to build your own custom oh-my posh segment FROM SCRATCH: th-cam.com/video/NR7i0SKFbtI/w-d-xo.html Oh My Posh...
How does Sudo for Windows work?
มุมมอง 8K11 หลายเดือนก่อน
Windows has a new feature! In this video, Mike Griese and I will be discussing: 1. How to enable Sudo for Windows 2. A quick technical dive into the different configuration options If you'd like to learn more, you can check out the full blog post: [enter link here] You can also take a look at the Microsoft Learn docs: [enter link here] You can also check out the GitHub repository here: [enter l...
Setting up Adafruit RGB Board with Hello World Text for BEGINNNERS!
มุมมอง 1.1K11 หลายเดือนก่อน
Learn how to get started with the Adafruit Matrix Portal M4 and RGB Board. In just 10m, we will go from unboxing to lighting up the board with custom text. Adafruit RGB Board and Microcontroller: learn.adafruit.com/adafruit-matrixportal-m4/overview Install CircuitPython Libraries: learn.adafruit.com/adafruit-matrixportal-m4/install-circuitpython GitHub Gist with Final Code: gist.github.com/joad...
Make Windows Terminal Look AWESOME in Just 5 Minutes.
มุมมอง 1.4Kปีที่แล้ว
In just five minutes, we're going to go from your out of the box Windows Terminal look and feel to an AWESOME, colorful, informative & fully customizable experience. intro: (0:00) install oh-my-posh: (1:26) configure your shell: (2:00) IT'S ALIVE!: (3:16) Customizing Your Theme: (3:23) A Note About Nerd Fonts: (4:54) Check out the Oh My Posh Docs: ohmyposh.dev/ My Oh My Posh Theme: gist.github....
NBA Stats inside of Windows Terminal! Building an Oh My Posh Segment from Scratch.
มุมมอง 314ปีที่แล้ว
Get NBA schedule information stats for your favorite NBA team directly inside of your favorite shell! If you don't want to watch the full video on building this segment from scratch, check out the links included below for a blog post shorter video content on how to get setup with Oh My Posh. In this video I build an NBA Oh My Posh segment from scratch, so you can learn about building segments i...

ความคิดเห็น

  • @mathewmanisk5707
    @mathewmanisk5707 12 วันที่ผ่านมา

    Thnx was unaware of clink thanx

  • @PaulmichaelContreras
    @PaulmichaelContreras 13 วันที่ผ่านมา

    3:08 IS THAT A PUN?!

  • @JC-Alan
    @JC-Alan 15 วันที่ผ่านมา

    I like your tutorial, but I've found that for whatever reason, the NBA segment does not work on the most recent version of OMP.

    • @jordiadoumie1919
      @jordiadoumie1919 15 วันที่ผ่านมา

      @@JC-Alan can you share your configuration? I’ll look into it.

    • @JC-Alan
      @JC-Alan 14 วันที่ผ่านมา

      ​@@jordiadoumie1919 I was trying your theme, and the only part that didn't work was the NBA portion (I tried it in PowerShell and WSL). Interestingly, I did a clean install of OMP on my laptop and it works fine, so it's something on my end that I'll sort out. I appreciate it regardless 🙂

  • @jarofcode9672
    @jarofcode9672 24 วันที่ผ่านมา

    Thank you very much.

  • @alial-muhtaseb2977
    @alial-muhtaseb2977 หลายเดือนก่อน

    why am igetting ? instead of ubuntu emblem

    • @jordiadoumie1919
      @jordiadoumie1919 หลายเดือนก่อน

      @@alial-muhtaseb2977 you need to have a nerd font set up on your machine. I made another video explaining that process, but the TLDR is change your font to a nerd font in windows terminal in the settings (appearance)

  • @etterathe
    @etterathe หลายเดือนก่อน

    Cool setup, I think you can do similar thing with tmux and bash scripts (specific window placement could be a little bit tricky tho). I see it can be applicable to other things like leetcodes, assignmenets or journaling as well. One thing that would be useful in this setup is probably another script (or shortcut) that closes all these windows when you are done xD

    • @etterathe
      @etterathe หลายเดือนก่อน

      tmux with its persistent session could be a little bit faster to load and faster to quit imho

    • @jordiadoumie1919
      @jordiadoumie1919 หลายเดือนก่อน

      @@etterathe closing all the windows would be awesome. Definitely could be replicable with scripts - it’s nice to have a simple UI though for folks too. I’ll have to play around with tmux. I do love the automatic window placement though. It was difficult to show in the video but it’s especially nice if you use many monitors as you can set them up in specific positions on specific monitors

  • @AmineChablaoui
    @AmineChablaoui หลายเดือนก่อน

    Thanks for this awesome tuto. Can you please tell me how you were able to show red arrows while you are recording

    • @jordiadoumie1919
      @jordiadoumie1919 หลายเดือนก่อน

      @@AmineChablaoui it’s called zoomit! It’s an awesome sysinternals utility & it’s actually coming into PowerToys soon!

  • @Anthrosoy17
    @Anthrosoy17 หลายเดือนก่อน

    Hello, Im having trouble getting the code to work. I have the correct libraries installed in the lib folder, but when I try to run the code.py, it doesnt work. I get the error: "adafruit_display_text" is not definedPylance when I try to import anything.

  • @KittiesForLife
    @KittiesForLife หลายเดือนก่อน

    I’m trying to modify wsl in VS Code, I have both .profile and .bashrc file, not sure which one to modify. CONFIG ERROR also show up😮

  • @brody2642
    @brody2642 2 หลายเดือนก่อน

    Update, so far so good. I just had to download the S3 UF2 file instead. Any other cool projects you've completed? I'm trying to have screens similar to the Tidbyt

    • @jordiadoumie1919
      @jordiadoumie1919 2 หลายเดือนก่อน

      @@brody2642 I haven’t picked it up in a while, I’ve done a few cool things. Coolest one was connecting it to a web server where friends could input their own messages and have it displayed at a little celebration at my house

    • @jordiadoumie1919
      @jordiadoumie1919 2 หลายเดือนก่อน

      @@brody2642 let me know if you come up with anything cool !

  • @brody2642
    @brody2642 2 หลายเดือนก่อน

    Hey Jordi! Does this still apply to the Matrix portal s3? I'm having a lot of trouble setting it up but I stumbled upon your video

  • @joshodell8670
    @joshodell8670 3 หลายเดือนก่อน

    Is it possible to enter the admin credentials for sudo within the console versus a UAC prompt, similar to other operating systems?

    • @jordiadoumie1919
      @jordiadoumie1919 2 หลายเดือนก่อน

      @@joshodell8670 Not currently.

  • @mfmusik70
    @mfmusik70 3 หลายเดือนก่อน

    Hi i have a Question, how you Modifie your Powershell Window? or ist this a Macbook?

    • @jordiadoumie1919
      @jordiadoumie1919 2 หลายเดือนก่อน

      @@mfmusik70 oh my posh! Check out my channel for a few videos around how I set up Windows Terminal :)

  • @cyberluk3
    @cyberluk3 4 หลายเดือนก่อน

    I managed to install Oh-my-posh, add the eval to my .profile, and change the theme, but I still get a question mark in front of the WSL, hostname, bash, and I don't know how to fix it. Do you have any tips? I'm using the "hul 10" theme, but it's the same with other themes.

    • @jordiadoumie1919
      @jordiadoumie1919 4 หลายเดือนก่อน

      @@cyberluk3 this is likely due to the font you’re using in Windows Terminal. Check out the installing fonts section of my blog here - joadoumie.github.io/jordi-rants/2023/10/24/oh-my-posh-nba-segment.html

  • @12ouncepoundcake29
    @12ouncepoundcake29 4 หลายเดือนก่อน

    Great video, helped me a lot! I am curious, though, as to why we are reaching out to github for the theme when we've already installed them all locally? Instead of using HTTPS in bash, for example, we can use our own directory path e.g. `eval "$(oh-my-posh init bash --config /home/[USER]/.cache/oh-my-posh/themes/hul10.omp.json)"` Thanks for the video!

  • @borkesahin8729
    @borkesahin8729 4 หลายเดือนก่อน

    Hi this looks great thank you really! but i would like to use tmux's status line at the bottom while oh-my-posh is active, so is there a way to do it? please help!

  • @asulliv1954
    @asulliv1954 4 หลายเดือนก่อน

    I can’t believe I have been trying to put something on my display for months and here I click your channel and it’s easier then the rest of TH-cam!!Thank You

  • @DanteMishima
    @DanteMishima 4 หลายเดือนก่อน

    Thank you for this... I had gotten my powershell and bash modified didn't know how to do wsl... This helped

  • @mdabdulmuqeeth26832
    @mdabdulmuqeeth26832 4 หลายเดือนก่อน

    Helped me a lot 🤍

  • @Kaldog
    @Kaldog 4 หลายเดือนก่อน

    This worked for me on both PowerShell and Command Prompt on Windows 10! Although Command Prompt only will not load the custom theme I made for some reason.

    • @Kaldog
      @Kaldog 4 หลายเดือนก่อน

      Looks like the Command Prompt script doesn't allow local files at all, only links.

    • @jordiadoumie1919
      @jordiadoumie1919 4 หลายเดือนก่อน

      @@Kaldog thanks for sharing your findings!

  • @mattcargile
    @mattcargile 5 หลายเดือนก่อน

    Would have been nice to use actual powershell instead of the dated netstat command.

  • @ClydeWarden
    @ClydeWarden 5 หลายเดือนก่อน

    Good overview. I just got mine. Although the screen is not touch, it has a very matte black finish, which is really nice--no reflection.

    • @philipstanco6011
      @philipstanco6011 28 วันที่ผ่านมา

      Criminal lapdog, are you waiting for me to call you again?

  • @jonathanmaximilianoacevesr4358
    @jonathanmaximilianoacevesr4358 5 หลายเดือนก่อน

    I have been having trouble using sudo apt and sudo yum, its still not available this commands? is there a different way to type it so I could run them?

    • @jordiadoumie1919
      @jordiadoumie1919 5 หลายเดือนก่อน

      @@jonathanmaximilianoacevesr4358 apt and yum are still Linux specific commands. Try winget instead which is the windows package manager. It’s a great cli tool. You can “winget install” and “winget search” among other things for packages

  • @ninja-radwan
    @ninja-radwan 5 หลายเดือนก่อน

    hi i got a problem When I restart Linux it tells me 'oh-my-posh: command not found'

    • @mardortc
      @mardortc 5 หลายเดือนก่อน

      Try putting the: eval "$(oh-my-posh init bash --config '~/{theme}.omp.json')" inside ~/.profile instead of ~/.bashrc

    • @JoelYoutube-v2c
      @JoelYoutube-v2c หลายเดือนก่อน

      @@mardortc Thanks! It worked

    • @nowhere2068
      @nowhere2068 7 วันที่ผ่านมา

      @@mardortc thank you so much!

  • @yepsan95
    @yepsan95 5 หลายเดือนก่อน

    Does this work on Windows 10?

    • @jordiadoumie1919
      @jordiadoumie1919 5 หลายเดือนก่อน

      @@yepsan95 sure does!

    • @yepsan95
      @yepsan95 5 หลายเดือนก่อน

      @@jordiadoumie1919 It didn't work on Windows 10 for the cmd :,(

    • @jordiadoumie1919
      @jordiadoumie1919 5 หลายเดือนก่อน

      @@yepsan95 oh really? I’ll do a bit more digging! Thanks for informing me

  • @v.reagan
    @v.reagan 6 หลายเดือนก่อน

    Thanks a bunch!

  • @Ayush0G
    @Ayush0G 6 หลายเดือนก่อน

    Thanks man! I was using chatgpt to set oh-my-posh in the cmd but the directory was not right after following your video I've successfully set-up oh-my-posh in cmd.

  • @maxshafer9001
    @maxshafer9001 6 หลายเดือนก่อน

    This was very fun to watch! Now I need to buy myself one….

  • @mahtabulgfy
    @mahtabulgfy 6 หลายเดือนก่อน

    Thank so much you bro !

  • @mileJim
    @mileJim 7 หลายเดือนก่อน

    aren't the screws numbered so you can screw/unscrew the in an order that makes it easier to un-/mount? or is it just a suggestion?

    • @jordiadoumie1919
      @jordiadoumie1919 7 หลายเดือนก่อน

      They are numbered - I didn’t follow the numbering scheme but maybe would have been better!

    • @TechieZeddie
      @TechieZeddie 6 หลายเดือนก่อน

      @@jordiadoumie1919 It's to ensure even distribution to avoid warping or an uneven surface. Kinda like how you would tighten in a star pattern on a vehicle's wheel.

  • @ethanfangg
    @ethanfangg 7 หลายเดือนก่อน

    This is the best video I've seen on the Framework 16. All the configurations are so cool + the hot-swappable ports are so killer.

  • @aleksevgeny
    @aleksevgeny 8 หลายเดือนก่อน

    OK. I tried running the following commands: sudo Get-WindowsUpdate sudo Get-AppPackage sudo Get-Disk None of them seem to work. In fact, none of the "command" list commands seem to work. I keep getting the same message: "Command not found". Am I doing something wrong? Is it not ready yet or something?

    • @jordiadoumie1919
      @jordiadoumie1919 7 หลายเดือนก่อน

      We're working on better integrating pwsh cmdlets. github.com/microsoft/sudo/issues/5. For now if you are having issues with cmdlets, please try sudo pwsh {Get-WindowsUpdate ...}... that should fix your issues in the meantime.

    • @aleksevgeny
      @aleksevgeny 7 หลายเดือนก่อน

      @@jordiadoumie1919 yeah, I figured that out myself, but thanks for the reply. Looking forward to more functional sudo on windows 😊

  • @djdevelops2616
    @djdevelops2616 9 หลายเดือนก่อน

    This is pretty awesome! But having to click a pop up is pretty tacky, is this just a windows quirk? Id rather have to type in a password and run it in the same window instead

    • @jordiadoumie1919
      @jordiadoumie1919 9 หลายเดือนก่อน

      This is just a Windows quirk of how administrator privileges work - password would be cool but breaks the usual UAC flow

    • @mattcargile
      @mattcargile 9 หลายเดือนก่อน

      You would use ALT + Y to auto accept. Or you would use gsudo which can cache credentials.

  • @pryml7865
    @pryml7865 9 หลายเดือนก่อน

    Hey, ,I got it to work just the same as you (very helpful btw) but whenever I open a new ubuntu terminal i have a red x instead of a blue check. Any reason?

    • @jordiadoumie1919
      @jordiadoumie1919 9 หลายเดือนก่อน

      Is it red where it is telling you your file path or is it a different segment? If you can pinpoint the segment I think we can debug together. What’s your home directory when you launch Ubuntu ?

  • @aaronbennett2589
    @aaronbennett2589 10 หลายเดือนก่อน

    "Some other new window?" Did I hear that correctly? You don't know what this new window that just opened? I just read the article this video link comes from. Why do you need a YT video on the same article people can just read? It has all the usual visual aids to show you how to do it.

    • @djdevelops2616
      @djdevelops2616 9 หลายเดือนก่อน

      This is being needlessly pedantic, don't be that guy because you are in a bad mood

    • @abennettitsi
      @abennettitsi 9 หลายเดือนก่อน

      @@djdevelops2616 Really, lol. You trigger easily. I guess you're too young to think critically yet. Just saying the obvious above, no bad mood.

  • @wil2197
    @wil2197 10 หลายเดือนก่อน

    It really should be you get the UAC prompt once, then those privileges remain in that console window for X amount of minutes, like how Sudo for Linux works. Close...but not perfect.

  • @moiest1autre
    @moiest1autre 10 หลายเดือนก่อน

    Really good content! just got my terminal looking much better!

    • @jordiadoumie1919
      @jordiadoumie1919 10 หลายเดือนก่อน

      That's awesome! Glad it was helpful for you.

  • @ritonlevrai1
    @ritonlevrai1 10 หลายเดือนก่อน

    Nice feature ! Thanks for your presentation and work :]

  • @gemidriver
    @gemidriver 10 หลายเดือนก่อน

    not working for me unfortunately.. not sure if limitation to region? i have an error with my 'type' Value is not accepted. Valid values: "az", "aws", "azfunc", "angular", "battery", "carbonintensity", "command", "connection", "crystal", "cds", "cf", "cftarget", "cmake", "docker", "dotnet", "dart", "executiontime", "flutter", "fossil", "gcp", "git", "gitversion", "go", "haskell", "helm", "ipify", "iterm", "julia", "java", "kotlin", "kubectl", "lastfm", "lua", "mercurial", "node", "npm", "nx", "ocaml", "os", "owm", "path", "perl", "python", "php", "plastic", "project", "root", "ruby", "rust", "r", "react", "sapling", "session", "sitecore", "spotify", "status", "shell", "sysinfo", "strava", "svn", "swift", "time", "text", "terraform", "ui5tooling", "umbraco", "unity", "upgrade", "wakatime", "winreg", "withings", "xmake", "ytm".(1)

    • @jordiadoumie1919
      @jordiadoumie1919 10 หลายเดือนก่อน

      Are you trying to build your own, OR are you trying to just use the nba one?

    • @gemidriver
      @gemidriver 10 หลายเดือนก่อน

      just tried using the default segment. but debug showing false unsure on how to sort the template part out?

    • @jordiadoumie1919
      @jordiadoumie1919 10 หลายเดือนก่อน

      ​@@gemidriver if you don't point to a specific theme '--config xyz' in your profile and just have the pwsh init oh-my-posh part does that render any of the segments from the default theme?

    • @gemidriver
      @gemidriver 10 หลายเดือนก่อน

      @@jordiadoumie1919 I got it working, I didn't have the template in my segment

  • @DBitRun
    @DBitRun 11 หลายเดือนก่อน

    Do I have to be an Insider to enable this option? I enable Developer mode and I don't see this option. If it's required, can I enable Sudo without being an Insider? Thanks.

    • @jordiadoumie1919
      @jordiadoumie1919 11 หลายเดือนก่อน

      At this point, it’s only available on insider builds. We’re working on expanding this.

    • @DBitRun
      @DBitRun 11 หลายเดือนก่อน

      @@jordiadoumie1919 Thanks for the update!

  • @TreborG2
    @TreborG2 11 หลายเดือนก่อน

    superuser do ... where is doe ? or dough? sudo ... DO .. DO DO DO .. not DOE !!

  • @MrMarcLaflamme
    @MrMarcLaflamme 11 หลายเดือนก่อน

    "disableInput" only made sense after it was explained by Mike. Please think about providing verbose descriptions in the settings GUI or changing the name to something else that's a bit more clear. Maybe something like Interactive (for Inline) and Non-Interactive (for disableInput) ? Other than that I'm pretty excited for this! Now all we need is !! to be implemented with Terminal (or maybe an alias can do that?)

    • @jordiadoumie1919
      @jordiadoumie1919 11 หลายเดือนก่อน

      Thanks for the feedback! I really appreciate it. We’re tracking an ask on the GH repo for this functionality - stay tuned!

    • @ilpoleppanen6465
      @ilpoleppanen6465 8 หลายเดือนก่อน

      Definitely, "non-interactive" mode would sound much more understandable and be in line with common concepts in the industry. The "disable input" mode really feels something like a quickly sketched compromise between developers and their concerned cybersecurity staff. One could think they there's a way to validate that the input is being given to the terminal from the same authentic source which has also confirmed the UAC. Also, what if you throw a command in this mode through sudo, either by accident or intentionally, that expects user input but the selected mode prevents any input from being given?

  • @striperseeker
    @striperseeker 11 หลายเดือนก่อน

    seems no different than having to launch an Admin CMD and running netstat from the prompt. A true sudo-like implementation would be running sudo "command" from a non-admin cmd prompt

    • @jordiadoumie1919
      @jordiadoumie1919 11 หลายเดือนก่อน

      This is exactly what you can do with disable input and inline modes

  • @ciphernemo
    @ciphernemo 11 หลายเดือนก่อน

    4:43 lol! Looks like someone is running Steam on their work PC. But "it's work work and compatibility testing with Steam", right? 😉

    • @jordiadoumie1919
      @jordiadoumie1919 11 หลายเดือนก่อน

      This is my personal computer that I built actually, not my work laptop. I didn’t even realize there was still steam services running though! 😂

  • @mytskse
    @mytskse 11 หลายเดือนก่อน

    looks dope! I recon Sudo should suppress UAC prompts in near future?

    • @jordiadoumie1919
      @jordiadoumie1919 11 หลายเดือนก่อน

      We’re looking into all the ways we can make this tool as valuable as possible. We are tracking this issue in the GitHub repository: github.com/microsoft/sudo/issues/7

  • @mcsweatshop
    @mcsweatshop 11 หลายเดือนก่อน

    just wanted to say i very much appreciate this candid rundown. keep up the good work jordi and mike <3

  • @krzysztofbaran2985
    @krzysztofbaran2985 11 หลายเดือนก่อน

    Awesome! Man, You made my day!

  • @DustinBriles
    @DustinBriles 11 หลายเดือนก่อน

    ​ @jordiadoumie1919 I second @RihelB. The Windows and *nix sudo commands are different enough that they should have different names. Copying the name didn't work out so well when "curl" was made an alias for "Invoke-WebRequest". I also don't see many people complaining about e.g. ifconfig vs ipconfig. If sudo on Windows supports the exact same same syntax, flags, options, etc as sudo on *nix, I could see the case for keeping the names the same since the user-facing functionality would be very similar. But even then, just the UAC prompt alone makes it different enough that I'd call it something else. My natural inclination is that two tools with the same name should do the same thing, and this is not true of sudo on Windows. All that being said, I LOVE this idea of making something better than "runas". Good job!

    • @jordiadoumie1919
      @jordiadoumie1919 11 หลายเดือนก่อน

      I hear you! We thought about some of the options you’re calling out here. A lot of customers voiced having the muscle memory of doing similar flows on various operating systems was more important to them and that’s where we landed. I totally understand your perspective and I do really appreciate the feedback. I’m always trying to learn from people like you so I can help to build things that will make your life better.

  • @sandpap3r
    @sandpap3r 11 หลายเดือนก่อน

    Are there any plans on the roadmap to implement something like a 'sudoers' file to lock things down or would we have to use a combination of group policy and permissions? The granularity of using 'sudoers' would be a boon to organizations that have different administrative tiers/responsibilities within IT.

    • @jordiadoumie1919
      @jordiadoumie1919 11 หลายเดือนก่อน

      Would love to hear more about your use-cases and scenarios. Please start an issue in the GitHub repository so we can track and prioritize based on feedback! github.com/microsoft/sudo

  • @pappvasile
    @pappvasile 11 หลายเดือนก่อน

    Why there should be a "sudo" command at all? since there is a "runas" command already for the same thing with plenty of options.

    • @DustinBriles
      @DustinBriles 11 หลายเดือนก่อน

      IMO runas is... not fun to use. I'm 100% down with making something better. I'm not sure we could just revamp the "runas" command either since it's so old and who knows what would break if it changed

    • @jnharton
      @jnharton 11 หลายเดือนก่อน

      @@DustinBriles It's Windows, leaving your old crap lying around for a decade or more makes perfect sense. :P --- I agree that it would make a certain amount of sense to duplicate the functionality of runas with more of a Unix/Linux style syntax. sudo <program> (run the program as admin) sudo -u <user> <program> (RUN program AS specific user) sudo -u <user> -h <host> <program (RUN program ON remote host AS specfic user) Or maybe even have a syntax that allows you to specify the user as a quoted string like 'DOMAIN\UserName' It should be relatively easy to translate that into the equivalent 'RUNAS' command... Or at least reuse the same basic functionality to achieve it.