Universal Dashboard grid color

I’m using /u/l33t_d0nut‘s Universal Dashboard module to monitor a Windows upgrade process I’ve created for my organization. I’d like to colorize grid elements for an at-a-glance feel, so “Success” gets printed in green, for example. I can’t figure out how to inject Javascript into the page to get this to work. I can inject CSS, […]

Script debug: find all excel connections

Good morning, I need to find all the .xls/.xlsx files with connections. I have tried the below script, it doesn’t work. Any assistance would be appreciated. foreach ($file in (Get-ChildItem “C:path_to_reports” -recurse)) { $Excel = New-Object -comobject Excel.Application $ExcelWorkbook = $Excel.workbooks.open($file.fullname) write-host “Connections of $($file.fullname):” $ExcelWorkbook.Connections $Excel.workbook.Close() } submitted by /u/Camondw [link] [comments]

Adding uint literals to PS Core! (Thoughts?)

PR: https://github.com/PowerShell/PowerShell/pull/7509#discussion_r210274889 In summary, this would add literals like 108u or 19ul to PS Core, allowing deliberate specification of [uint] and [ulong] types as literal numbers in expressions, much like you can with 100L or 41.3d It would also add type aliases for [ushort], [uint], and [ulong] ([uint16], [uint32], and [uint64] currently) to PS’s default […]