Introducing ‘PSDecode’ Powershell Module [v0.9.0]
PowerShell based module that can decode System Errors, Exit codes, port numbers, HTTP Statuses and MAC Vendors. This module can be used to quick lookup Error descriptions, to add verbosity to your custom error messages and for a better Error Handling, Investigation, and Analysis.
Technically the module offers a set of cmdlets that query a database of Error/Exit codes, port numbers, and MAC addresses which totals to 83049 individual records as of now when I’m writing this blog.
[New Version] Gridify PowerShell Module v0.9.2
What’s New?
The Set-GridLayout cmdlet now accepts [System.Diagnostics.Process[]] objects as a parameter instead of Process ID’s.
‘-IncludeSource’ switch to add source process in the grid layout
A new ‘Cascade’ layout is available now. Cascade layout sets all application in a step-like layout, such that the next one overlapping the previous one
Ability to define application width ratios in a -Custom Layout. This enables you to define width-ratio of applications in every row, to give the ability to customize application width sizes as per the requirement.
Like, to define a ratio precede the asterisk of that application with a number such as -custom “*2*3*” is 1:2:3
Set-GridLayout – Arrange Applications in Automatic Grid with PowerShell
I’ve worked on a couple of Powershell automation frameworks, that are always-ON, which is basically a bunch of scripts continuously running on a machine to monitor, test, build or for any other possible use case. One can check the live status of these scripts by logging onto the box and resize-drag-arrange any spawned script or application properly on the screen so that they don’t overlap so that you can read them properly, which I personally found very irritating.
Similarly, when I was testing socket programmed python chat application I wrote, from multiple Telnet clients it was mess to arrange and resize, something like in the below screenshot
but recently, when I started working on one of my bot’s which spawns multiple PowerShell script jobs on my screen , I literally lost my patience while testing and started a parallel side project to set all PowerShell consoles (or any other application) automatically in a grid layout like in the below image.
Thanks to that NO MORE RESIZE-DRAG-ARRANGE! phew!
3 ways to store and display PowerShell Variable simultaneously
Video Tutorial In order to write less code or to write better one-liners in Powershell, I often find one of these PowerShell Variable assignment techniques useful, and let me know if you feel the same. Using -OutVariable parameter Get-Process a* -OutVariable process PowerShell Variable squeezing Its…
PowerShell Select-Object by Value
If you are reading this you must have used PowerShell Select-object in PowerShell to select properties of an object something like Or, Where-Object cmdlet to filter out values on any specific object property like All these work well when you know the Property Name you are searching….
Categories
Author of Books
Awards
Open Sourced Projects
Author at
Blog Roll
Mike F RobbinsDamien Van Robaeys
Stéphane van Gulick
Kevin Marquette
Adam Bertram
Stephanos Constantinou
Francois-Xavier Cat
Ravikanth Chaganti
Roman Levchenko
Blog Stats
- 1,133,164 People Reached