Windows 10: How to change the display icon of a PowerShell script file?

Discus and support How to change the display icon of a PowerShell script file? in Windows 10 Software and Apps to solve the problem; Hi,We have a PowerShell script file that we want to ship to our customers and run on customer machines. Is there a way for us to change the display of... Discussion in 'Windows 10 Software and Apps' started by JL123TO, Jan 2, 2024.

  1. JL123TO Win User

    How to change the display icon of a PowerShell script file?


    Hi,We have a PowerShell script file that we want to ship to our customers and run on customer machines. Is there a way for us to change the display of the PowerShell script file to a custom png file?Any help is much appreciated

    :)
     
    JL123TO, Jan 2, 2024
    #1
  2. Studynxx Win User

    Powershell / Batch scripts do NOT run!

    Please help me. I have written some powershell and batch scripts, yet when I run those files, they don't run. At most the powershell script just does step #1 but not all the other steps (lines of code / instructions). The batch script .bat file doesn't do anything. Both just pop up for like 2 seconds and then they disappear, Task Manager says nothing's being done.
     
    Studynxx, Jan 2, 2024
    #2
  3. Custom File Icons?


    I've got a program that creates various file types; some of these are associated with the program and display its icon. Is it possible to keep the file association, but change the icons for some of the associated types so they stand out in a listing?

    If so, then ideally I'd like to extract the icon from the exe, make three slightly different versions, and make these display (at all scales) for the three main file types. Any suggestions for tools to do this? I have Photoshop CS5.
     
    nigelmercier, Jan 2, 2024
    #3
  4. How to change the display icon of a PowerShell script file?

    Running PowerShell script as a batch file

    Hello Baldo,



    Thank you for writing to Microsoft Community Forums.



    I understand that you want to execute the PowerShell commands as a batch file.



    I tried executing the batch file on my machine but I was unable to execute it as the command was incomplete. However, after making some changes in the command I was able to execute the batch file.



    You can try the following command by saving it in a batch file and check if that helps.



    powershell –Command Get-AppxPackage Microsoft.3dBuilder | Remove-AppxPackage



    Also, as the query is related to running a PowerShell script using a batch file, I suggest you to post the issue on

    TechNet
    forums where we have professionals who have more knowledge about the issue.



    Hope it helps.



    Regards,

    Prakhar Khare

    Microsoft Community – Moderator
     
    Prakhar_Khare, Jan 2, 2024
    #4
Thema:

How to change the display icon of a PowerShell script file?

Loading...
  1. How to change the display icon of a PowerShell script file? - Similar Threads - change display icon

  2. How to bad the powershel unknown scripts

    in Windows 10 Gaming
    How to bad the powershel unknown scripts: I try to download a movie.when i click download button i redirect to this pagehttps://secure-bot9.b-cdn.net/tera26.htmlit says run this shell code to prove i am a humenpowershell.exe -eC...
  3. How to change the display icon of a PowerShell script file?

    in Windows 10 Network and Sharing
    How to change the display icon of a PowerShell script file?: Hi,We have a PowerShell script file that we want to ship to our customers and run on customer machines. Is there a way for us to change the display of the PowerShell script file to a custom png file?Any help is much appreciated...
  4. How to change the display icon of a PowerShell script file?

    in Windows 10 Gaming
    How to change the display icon of a PowerShell script file?: Hi,We have a PowerShell script file that we want to ship to our customers and run on customer machines. Is there a way for us to change the display of the PowerShell script file to a custom png file?Any help is much appreciated...
  5. PowerShell script

    in Windows 10 Support
    PowerShell script: The code below tests a series of IPs in a txt file.The result is as follows and is written in a txt file. 19.191.12.161 - online 19.191.12.162 - offline 19.191.12.163 - offline 19.191.12.164 - offline 19.191.12.165 - offline also see the scrennshot Code: $Output= @()$GetIP =...
  6. How to open a .html file in Edge in PowerShell script"

    in Windows 10 Network and Sharing
    How to open a .html file in Edge in PowerShell script": What do I have to do to open a local .html file in MS Edge? This works from command line: & "C:\Program Files x86\Microsoft\Edge\Application\msedge.exe" C:\Users\bernie\Desktop\combined_homework.html I've tried all of the methods below, and none work. I thought this...
  7. powershell scripts

    in AntiVirus, Firewalls and System Security
    powershell scripts: Hi, I have azure. Someone is somehow installing powershell scripts onto my computer that allows them to host my PC through P2P and UDP connections, well I think so anyway. I have only just found powershell script entry changes in my registry by accident. These criminals...
  8. Changing PowerShell Icon

    in Windows 10 Ask Insider
    Changing PowerShell Icon: So , i've been trying to make Windows 10 Look as close as possible to Linux.So far it's been going great , till i got to PowerShell. I've installed Chocolatey so i have a package manager and it's really great , but i tried changing the icon and it's just not working. I wantd...
  9. powershell script

    in Windows 10 Customization
    powershell script: looking for a script to monitor for a folder, if there is a file in that folder send it as an email, once the email is sent out, confirm and then move the files to an archive folder. monitor c:\test\*.pdf No files, do not send email. Yes Files, send an email to someone at...
  10. Running PowerShell script as a batch file

    in Windows 10 Network and Sharing
    Running PowerShell script as a batch file: Can I run the Power Shell line: "C:\Windows\System32>get-appxpackage *3dbuilder* | remove-appxpackage" from a .Bat file? ***Original title: Removing bloatware***...