Get list of software installed from a remote computer WMI and PowerShell

Get list of software installed from a remote computer WMI and PowerShell Ever wanted to Get list of software installed from a remote computer via WMI and PowerShell  Open PowerShell and run the following command: Get-WmiObject -Class “Win32_Product” -ComputerName RemoteHost -Credential localhost\LocalUser | Export-CSV (Join-Path $home “SoftwareList.csv”) Now to understand how this all ties together. Get-WmiObject  -Class […]

Get list of software installed from a remote computer via WMIC from DOS

Get list of software installed from a remote computer Have you ever needed to get a quick local inventory of installed software across your network? You can use the WMIC command from the DOS CLI. Simply run the following command: wmic /user:”localhost\UserName” /password:”UsersPassword” /node:”RemoteHostname” product get name,version,vendor You can copy and paste this to a […]

Visual Studio – Tasks Lists

Visual Studio – Tasks Lists In this post, I will try to present one cool window in Visual Studio, the Visual Studio – Tasks Lists window. First if this Windows is not visible we can turn it on from the View menu: View -> Tasks List This window will allow You to create and manage […]

Input validation – Numbers Only

Input validation – Numbers Only Few times already I have been asked how can Input validation – Numbers Only be done. Well in c# it is actually very easy. All You need to do is to add a key press event handler and check the currently pressed character. If the character is what you want […]

Swap value between two variables in C#

Swap value between two variables in C# One of the first challenges when we start to learn programming, after Hello world of course :), is swapping a variable and Swap value between two variables in C#. Like almost every programming problem, this one as well has several solutions. Some more effective than others. Although one […]