Powerschell change folder icons

Filip 831 Reputation points
2021-04-18T20:29:19.287+00:00

Hello.
Can i change folder icon with powershell commands?
Thanks for help.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,627 questions
No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 66,071 Reputation points Microsoft MVP
    2021-04-19T11:29:10.693+00:00

    Hi @Filip ,

    You asked for "change folder icons" ;-)

    To change file icons with PowerShell maybe this helps:
    https://www.winhelponline.com/blog/change-default-icon-file-type-windows/

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten


1 additional answer

Sort by: Most helpful
  1. Andreas Baumgarten 66,071 Reputation points Microsoft MVP
    2021-04-18T20:33:23.79+00:00

    Ho @Filip ,

    maybe this helps:

    https://www.itdroplets.com/change-folder-icon-powershell/

    or this one:

    https://github.com/Kreloc/PowerShell/blob/master/Set-FolderIcon.ps1

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten