-
Need for PSCustomObject in PowerShell
PSCustomObjects are an essential part of PowerShell’s toolkit. PowerShell being a scripting language needed to provide users (mainly admins) ability to create objects for purposes like creating excel reports. Hashtable’s alone did not provide the flexibility like exporting to csv. Why PSCustomObject Being part of .net and Object Oriented programming paradigms ideally we need a…
-
How to compare two large files and get difference
PowerShell would be an easy approach with which two large readable files like (*.txt) can be compared. When the content in the file is 40 characters long and have 40 thousand lines to compare then usual techniques like excel VLOOKUP will fail. PowerShell’s Compare-Object command comes to the rescue in such scenarios. Compare-Object Compare objects…