Actualiser Set-WallpaperPowerBGInfoCORPORATE.ps1
This commit is contained in:
@@ -27,6 +27,10 @@ foreach ($Disk in $Disks) {
|
|||||||
-Value "$PctFree% free" `
|
-Value "$PctFree% free" `
|
||||||
-Detail "$TotalGB GB total" `
|
-Detail "$TotalGB GB total" `
|
||||||
-Progress $Progress `
|
-Progress $Progress `
|
||||||
|
-TitleSize 10 `
|
||||||
|
-TextSize 13 `
|
||||||
|
-SubTitleSize 9 `
|
||||||
|
-Density Compact `
|
||||||
-Accent $Color
|
-Accent $Color
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -178,17 +182,17 @@ $palette = @{
|
|||||||
|
|
||||||
$tiles = @(
|
$tiles = @(
|
||||||
# --- GAUCHE ---
|
# --- GAUCHE ---
|
||||||
New-BGInfoVisualCanvasTile -Side Left -IconKind Computer -SurfaceStyle Raised -Label HOSTNAME -Value '{{HostName}}' -TextSize 16 -Accent '#49b1d7FF'
|
New-BGInfoVisualCanvasTile -Side Left -IconKind Computer -SurfaceStyle Raised -Label HOSTNAME -Value '{{HostName}}' -TitleSize 10 -TextSize 13 -SubTitleSize 9 -Density Compact -Accent '#49b1d7FF'
|
||||||
New-BGInfoVisualCanvasTile -Side Left -IconKind Computer -SurfaceStyle Raised -Label 'SERVER ROLE' -Value $RoleValue -Detail $RoleDetail -TextSize 16 -Accent '#ffa340FF'
|
New-BGInfoVisualCanvasTile -Side Left -IconKind Computer -SurfaceStyle Raised -Label 'SERVER ROLE' -Value $RoleValue -Detail $RoleDetail -TitleSize 10 -TextSize 13 -SubTitleSize 9 -Density Compact -Accent '#ffa340FF'
|
||||||
New-BGInfoVisualCanvasTile -Side Left -IconKind OperatingSystem -SurfaceStyle Raised -Label 'OPERATING SYSTEM' -Value $OSName -Detail $OSDetail -TextSize 16 -Accent '#00698eFF'
|
New-BGInfoVisualCanvasTile -Side Left -IconKind OperatingSystem -SurfaceStyle Raised -Label 'OPERATING SYSTEM' -Value $OSName -Detail $OSDetail -TitleSize 10 -TextSize 13 -SubTitleSize 9 -Density Compact -Accent '#00698eFF'
|
||||||
New-BGInfoVisualCanvasTile -Side Left -IconKind Network -SurfaceStyle Raised -Label 'IP ADDRESS' -Value '{{IPv4Address}}' -Detail 'Management IP Address' -TextSize 16 -Accent '#49b1d7FF'
|
New-BGInfoVisualCanvasTile -Side Left -IconKind Network -SurfaceStyle Raised -Label 'IP ADDRESS' -Value '{{IPv4Address}}' -Detail 'Management IP Address' -TitleSize 10 -TextSize 13 -SubTitleSize 9 -Density Compact -Accent '#49b1d7FF'
|
||||||
New-BGInfoVisualCanvasTile -Side Left -IconKind User -SurfaceStyle Raised -Label 'LOGGED USER' -Value '{{UserName}}' -Detail 'Active Session' -TextSize 16 -Accent '#16A34AFF'
|
New-BGInfoVisualCanvasTile -Side Left -IconKind User -SurfaceStyle Raised -Label 'LOGGED USER' -Value '{{UserName}}' -Detail 'Active Session' -TitleSize 10 -TextSize 13 -SubTitleSize 9 -Density Compact -Accent '#16A34AFF'
|
||||||
|
|
||||||
# --- DROITE ---
|
# --- DROITE ---
|
||||||
New-BGInfoVisualCanvasTile -Side Right -IconKind Cpu -SurfaceStyle Raised -Label 'CPU LOAD' -Value "$CpuLoad% active" -Detail "$TotalCores logical cores" -TextSize 16 -Accent '#49b1d7FF'
|
New-BGInfoVisualCanvasTile -Side Right -IconKind Cpu -SurfaceStyle Raised -Label 'CPU LOAD' -Value "$CpuLoad% active" -Detail "$TotalCores logical cores" -TitleSize 10 -TextSize 13 -SubTitleSize 9 -Density Compact -Accent '#49b1d7FF'
|
||||||
New-BGInfoVisualCanvasTile -Side Right -IconKind Memory -SurfaceStyle Raised -Label 'MEMORY USE' -Value "$RamUsedGB GB used" -Detail "$TotalRamGB GB installed" -TextSize 16 -Accent '#49b1d7FF'
|
New-BGInfoVisualCanvasTile -Side Right -IconKind Memory -SurfaceStyle Raised -Label 'MEMORY USE' -Value "$RamUsedGB GB used" -Detail "$TotalRamGB GB installed" -TitleSize 10 -TextSize 13 -SubTitleSize 9 -Density Compact -Accent '#49b1d7FF'
|
||||||
) + $DiskTiles + @(
|
) + $DiskTiles + @(
|
||||||
New-BGInfoVisualCanvasTile -Side Right -IconKind Shield -SurfaceStyle Raised -Label 'PATCH STATUS' -Value $PatchValue -Detail $PatchDetail -Progress $PatchProgress -TextSize 16 -Accent $PatchColor
|
New-BGInfoVisualCanvasTile -Side Right -IconKind Shield -SurfaceStyle Raised -Label 'PATCH STATUS' -Value $PatchValue -Detail $PatchDetail -Progress $PatchProgress -TitleSize 10 -TextSize 13 -SubTitleSize 9 -Density Compact -Accent $PatchColor
|
||||||
)
|
)
|
||||||
|
|
||||||
# ====================================================================
|
# ====================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user