{"id":13598609,"url":"https://github.com/EvotecIT/PowerBGInfo","last_synced_at":"2025-04-10T09:31:37.001Z","repository":{"id":95331732,"uuid":"583432237","full_name":"EvotecIT/PowerBGInfo","owner":"EvotecIT","description":"PowerBGInfo is a PowerShell module that is used to generate background information for Windows machines. It's a replacement for BGInfo that doesn't require installation and is much more flexible.","archived":false,"fork":false,"pushed_at":"2023-03-31T07:18:59.000Z","size":2740,"stargazers_count":104,"open_issues_count":2,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-29T21:06:11.276Z","etag":null,"topics":["bginfo","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EvotecIT.png","metadata":{"files":{"readme":"README.MD","changelog":"CHANGELOG.MD","contributing":null,"funding":".github/FUNDING.yml","license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"PrzemyslawKlys","custom":["https://paypal.me/PrzemyslawKlys"]}},"created_at":"2022-12-29T19:03:33.000Z","updated_at":"2024-09-25T19:56:03.000Z","dependencies_parsed_at":"2023-09-25T23:54:22.119Z","dependency_job_id":null,"html_url":"https://github.com/EvotecIT/PowerBGInfo","commit_stats":{"total_commits":45,"total_committers":1,"mean_commits":45.0,"dds":0.0,"last_synced_commit":"154c09ab90fba48def513d8d8099cc4bfa6d1a00"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvotecIT%2FPowerBGInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvotecIT%2FPowerBGInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvotecIT%2FPowerBGInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvotecIT%2FPowerBGInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvotecIT","download_url":"https://codeload.github.com/EvotecIT/PowerBGInfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247452961,"owners_count":20941197,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bginfo","powershell"],"created_at":"2024-08-01T17:00:54.238Z","updated_at":"2025-04-10T09:31:31.986Z","avatar_url":"https://github.com/EvotecIT.png","language":"PowerShell","funding_links":["https://github.com/sponsors/PrzemyslawKlys","https://paypal.me/PrzemyslawKlys"],"categories":["PowerShell","C# #","C#","C\\#"],"sub_categories":[],"readme":"﻿\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://dev.azure.com/evotecpl/PowerBGInfo/_build/results?buildId=latest\"\u003e\u003cimg src=\"https://img.shields.io/azure-devops/build/evotecpl/39c74615-8f34-4af0-a835-68dc33f9214f/14?label=Azure%20Pipelines\u0026style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.powershellgallery.com/packages/PowerBGInfo\"\u003e\u003cimg src=\"https://img.shields.io/powershellgallery/v/PowerBGInfo.svg?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.powershellgallery.com/packages/PowerBGInfo\"\u003e\u003cimg src=\"https://img.shields.io/powershellgallery/vpre/PowerBGInfo.svg?label=powershell%20gallery%20preview\u0026colorB=yellow\u0026style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/EvotecIT/PowerBGInfo\"\u003e\u003cimg src=\"https://img.shields.io/github/license/EvotecIT/PowerBGInfo.svg?style=flat-square\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.powershellgallery.com/packages/PowerBGInfo\"\u003e\u003cimg src=\"https://img.shields.io/powershellgallery/p/PowerBGInfo.svg?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/EvotecIT/PowerBGInfo\"\u003e\u003cimg src=\"https://img.shields.io/github/languages/top/evotecit/PowerBGInfo.svg?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/EvotecIT/PowerBGInfo\"\u003e\u003cimg src=\"https://img.shields.io/github/languages/code-size/evotecit/PowerBGInfo.svg?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.powershellgallery.com/packages/PowerBGInfo\"\u003e\u003cimg src=\"https://img.shields.io/powershellgallery/dt/PowerBGInfo.svg?style=flat-square\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://twitter.com/PrzemyslawKlys\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/PrzemyslawKlys.svg?label=Twitter%20%40PrzemyslawKlys\u0026style=flat-square\u0026logo=twitter\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://evotec.xyz/hub\"\u003e\u003cimg src=\"https://img.shields.io/badge/Blog-evotec.xyz-2A6496.svg?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.linkedin.com/in/pklys\"\u003e\u003cimg src=\"https://img.shields.io/badge/LinkedIn-pklys-0077B5.svg?logo=LinkedIn\u0026style=flat-square\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**PowerBGInfo** is a PowerShell module that is used to generate background information for Windows machines.\nIt's a replacement for [BGInfo](https://technet.microsoft.com/en-us/sysinternals/bginfo.aspx) that doesn't require installation and is much more flexible.\n\nYou can read about this project on this [blog post](https://evotec.xyz/powerbginfo-powershell-alternative-to-sysinternals-bginfo/) that tells a little backstory and shows few things.\n\n## Installation\n\nInstall from [PowerShell Gallery](https://www.powershellgallery.com/packages/PowerBGInfo) is as easy as:\n\n```powershell\nInstall-Module PowerBGInfo -Force -Verbose\n```\n\nWhen there's an update you can update it using same command which will install new module version.\n\n## Known Issues\n\nThis module will work fine for PowerShell 5.1 and PowerShell 7+.\n**Currently the module has a problem when running in VSCode PowerShell extension when on PowerShell 5.1 (other versions work fine!)**\nIt works fine when running in PowerShell 5.1 console, or ISE (shrug!).\n\n## Usage\n\nHere's a small taste of the code:\n\n```powershell\nNew-BGInfo -MonitorIndex 0 {\n    # Lets add computer name, but lets use builtin values for that\n    New-BGInfoValue -BuiltinValue HostName -Color Red -FontSize 20 -FontFamilyName 'Calibri'\n    # Lets add user name, but lets use builtin values for that\n    New-BGInfoValue -BuiltinValue FullUserName -Name \"FullUserName\" -Color White\n    New-BGInfoValue -BuiltinValue CpuName\n    New-BGInfoValue -BuiltinValue CpuLogicalCores\n    New-BGInfoValue -BuiltinValue RAMSize\n    New-BGInfoValue -BuiltinValue RAMSpeed\n\n    # Lets add Label, but without any values, kind of like section starting\n    New-BGInfoLabel -Name \"Drives\" -Color LemonChiffon -FontSize 16 -FontFamilyName 'Calibri'\n\n    # Lets get all drives and their labels\n    foreach ($Disk in (Get-Disk)) {\n        $Volumes = $Disk | Get-Partition | Get-Volume\n        foreach ($V in $Volumes) {\n            New-BGInfoValue -Name \"Drive $($V.DriveLetter)\" -Value $V.SizeRemaining\n        }\n    }\n} -FilePath $PSScriptRoot\\Samples\\PrzemyslawKlysAndKulkozaurr.jpg -ConfigurationDirectory $PSScriptRoot\\Output -PositionX 100 -PositionY 100 -WallpaperFit Center\n```\n\nHere's how the wallpaper will look like:\n\n![PowerBGInfo](https://raw.githubusercontent.com/EvotecIT/PowerBGInfo/master/Examples/Output/PrzemyslawKlysAndKulkozaurr.jpg)\n\nYou can also use only builtin values\n\n```powershell\nNew-BGInfo -MonitorIndex 0 {\n    # Lets add computer name, but lets use builtin values for that\n    New-BGInfoValue -BuiltinValue HostName -Color Red -FontSize 20 -FontFamilyName 'Calibri'\n    New-BGInfoValue -BuiltinValue FullUserName -Color White\n    New-BGInfoValue -BuiltinValue CpuName -Color White\n    New-BGInfoValue -BuiltinValue CpuLogicalCores -Color White -ValueColor Red\n    New-BGInfoValue -BuiltinValue RAMSize -Color White\n    New-BGInfoValue -BuiltinValue RAMSpeed -Color White -ValueColor ([SixLabors.ImageSharp.Color]::Aquamarine)\n    New-BGInfoValue -BuiltinValue RAMPartNumber -Color White\n    New-BGInfoValue -BuiltinValue BiosVersion -Color White\n    New-BGInfoValue -BuiltinValue BiosManufacturer -Color White\n    New-BGInfoValue -BuiltinValue BiosReleaseDate -Color White\n    New-BGInfoValue -BuiltinValue OSName -Color White -Name \"Operating System\"\n    New-BGInfoValue -BuiltinValue OSVersion -Color White\n    New-BGInfoValue -BuiltinValue OSArchitecture -Color White\n    New-BGInfoValue -BuiltinValue OSBuild -Color White\n    New-BGInfoValue -BuiltinValue OSInstallDate -Color White\n    New-BGInfoValue -BuiltinValue OSLastBootUpTime -Color White\n\n} -FilePath \"C:\\Support\\GitHub\\PowerBGInfo\\Examples\\Samples\\TapN-Evotec-1600x900.jpg\" -ConfigurationDirectory $PSScriptRoot\\Output -PositionX 75 -PositionY 75 -WallpaperFit Fit\n```\n\nHere's the output from command above\n\n![PowerBGInfo](https://raw.githubusercontent.com/EvotecIT/PowerBGInfo/master/Examples/Output/TapN-Evotec-1600x900.jpg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEvotecIT%2FPowerBGInfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEvotecIT%2FPowerBGInfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEvotecIT%2FPowerBGInfo/lists"}