Category: Programming

Auditing Installed Applications Remotely

PowerShell script to help determine the GUID of the applications installed on PCs or servers. This way we may easily create uninstallers if needed through PDQDeploy. This script will get all x64 applications on station77 Invoke-command -cn station77 -scriptblock {Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall* | Select-Object DisplayName, UninstallString | FT } This script will get all x86 applications on station77 Invoke-command -cn station77… Read more →

ASP.NET Gridview conditional formatting

  The below will dynamically change the background color of  a gridview called gridview1 when the column data value called SiteScheduleStatus = Scheduled to light green, otherwise the background color of the gridview will be Misty Rose. Protected Sub GridView1_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound If e.Row.RowType = DataControlRowType.DataRow Then If DataBinder.Eval(e.Row.DataItem, “SiteScheduleStatus”).ToString() = “Scheduled” Then e.Row.BackColor =… Read more →