ReadMe.txt

Import-Module "D:\Dropbox\C# Code\ConsolApps\PowershellBGInfo\PowershellBGInfo\bin\Debug\PowershellBGInfo.dll"
$row1 = New-BGInfoRow -RowText (Get-HostName) -FontSize 30 -FontStyle Bold
 
$RoleService = Get-WindowsFeature | where {$_.Installed -EQ $true -and $_.FeatureType -eq "Role Service" -and $_.depth -EQ 2 } | select DisplayName
 
$row2 = New-BGInfoRow -RowText $RoleService -FontFamily "Comic Sans MS" -FontSize 26
$BGinfoImage = New-BGinfoImage -BGInfoRows $row1,$row2 -TextColor "White" -BackgroundColor "Black" -ImagePath C:\Temp\
 
Set-BGInfoImage -BGinfoImageOutput $BGinfoImage