PowerShell Tutorials : Making your scripts into .exe (executables)

Поділитися
Вставка
  • Опубліковано 19 січ 2025

КОМЕНТАРІ • 33

  • @ADSYT007
    @ADSYT007 Рік тому +4

    Old but damn you just fixed my headache of writing the cmd code to execute the powershell file to execute. Hats off

  • @alfonsobaqueiro
    @alfonsobaqueiro Рік тому +7

    It is not an exe of the script, but an exe of self extraction that runs the extracted script after extraction. Not the same, it is good to know that difference. Anyway it is a great trick.

    • @robertroussakov9395
      @robertroussakov9395 Рік тому +1

      is the script extracted on disk or in memory

    • @georgekon69
      @georgekon69 Рік тому

      @@robertroussakov9395 it's extracted in memory. it doesn't leave anything on the disk

    • @SD-Geek
      @SD-Geek 4 місяці тому

      ​@@robertroussakov9395disk i think

  • @allferryrocha2698
    @allferryrocha2698 3 роки тому +4

    Nice one mate, and almost spot on on my name. 😃. I will try this on one of my PS scripts.
    Now waiting on the PS-PDF data manipulation video. 😀

  • @danaliu1579
    @danaliu1579 2 роки тому +1

    Thanks for the awesome tutorials, Jack! I have a question. My script is searching for files from folders by inputting strings. Do I need to package those folders also? And is that possible to hold the PowerShell console screen after the program executed to show the result? It's flashed when I run the exe file...Thanks in advance Jack!

  • @ExcellenceExemplar
    @ExcellenceExemplar 9 місяців тому

    Your videos are outstandingly useful and understandable.
    Is there a way for me to become a member or something? You deserve my money, Brother!

  • @srenlarsen3148
    @srenlarsen3148 2 роки тому +1

    The point off creating a file.exe is to unly have 1 file agree?
    So the issue here is when you have multi xaml files and one ps1 file.
    Sure you can collect them in that program in Windows.
    And ref to the files, the problem is you still have to have them inside a folder also, else it will not work.
    So the point off 1 exe is still a problem that way.
    Else you have to put every xaml page script, inside one ps1 to do it that way, and then do the compile to exe file.
    Else you have any better way to show via external program like Visual Studio where you have one ps1 file, and multi xaml files.

  • @bils66tv32
    @bils66tv32 9 місяців тому

    Can you make a tutorial how to convert a p5.js project from visual studio to a executable file ?

  • @geniegerny
    @geniegerny Рік тому

    So do i have to drag all the files on the USB or is the exe file alone enough and the other files are included?

  • @sp3lllz
    @sp3lllz 2 роки тому

    this was perfect but is there a way to hit the pswindow that shows up behind my gui?

  • @cernejr
    @cernejr 2 роки тому

    Good video, thank you. What is the SED file for?

  • @simondecocker7471
    @simondecocker7471 3 роки тому +1

    I get an Antivirus alert when I try to create an exe from my script. Do you have some suggestions on how to bypass that?

  • @elgertz447
    @elgertz447 2 роки тому

    Eres un Crak 👍👍👍👍 me funcionó carnal me dió la temperatura mal al inicio el exe luego lo ejecute como Admin y listo 👍👍👍👍 gran vídeo 👍

  • @lasamadmen6028
    @lasamadmen6028 2 роки тому

    Salut. Soit un programme .exe que je dois copier dans c:\temp puis l'exécuter. Je souhaite un script powershell qui accomplira ces 2 fonctions. Merci pour ta contribution

  • @doza2704
    @doza2704 2 роки тому

    Is there a way to remove the powershell start up window from the .exe ? I know there is a command but the command that is used still shows it for a split second.

    • @Spasmaticus
      @Spasmaticus 2 роки тому

      I would guess you could do something like -windowstyle hidden when you enter the "powershell.exe -executionpolicy bypass -file blabla.ps1"

  • @markomarkovic1756
    @markomarkovic1756 2 роки тому

    Hi Jack, i have tried to create executable file from one of my scripts but i receive the message "Another program is currently using this file" and after that the exe file dissapears. I have also set the execution policy to Bypass in my script. Do you have any advice?

    • @jackedprogrammer
      @jackedprogrammer  2 роки тому

      Hi Marko, sorry for the late reply, make sure that the powershell ISE or vs code is closed when making the .exe as it might hold a lock on the file.

  • @ojwtaylor
    @ojwtaylor 2 роки тому +1

    Big Help thank you!

  • @AdrianMoseley
    @AdrianMoseley 2 роки тому +1

    Thanks for this!

  • @Zatoufly
    @Zatoufly 2 роки тому

    That's very great ! Thx ;)

  • @markmiller4659
    @markmiller4659 3 роки тому +1

    Do you think you could help me with a csv file? I would pay..

    • @jackedprogrammer
      @jackedprogrammer  3 роки тому

      Hi Mark, if you want you can send me an email via my about section should be a button there to contact me by email :)

  • @whoknows8225
    @whoknows8225 11 місяців тому

    what about ps2exe?

  • @fpost337
    @fpost337 Рік тому

    Thx!

  • @KIRNEILL
    @KIRNEILL 2 роки тому +1

    Hey jack! I emailed you about a huge project :) I think you would be interested!