| Title | Author | Age | Description |
|---|---|---|---|
| Get-WifiNetwork | Oisin Grehan | Fri, 02 Sep 2011 14:59:47 | Get-WifiNetwork – return the parsed output of netsh wlan show network mode=bssid in psobject form. Does exactly what it says on the tin. Requires Vista/2008 or higher, or XP SP3 with a hotfix (I can’t recall which one, sorry.) |
| Get-TranscriptFilePath | Oisin Grehan | Mon, 27 Dec 2010 08:02:39 | Get the name of the current (or last) transcription file used in the current session. Requires powershell v2.0. Some things to note: - it’s an empty string if you have not yet used transcription in the current session – if transcribing, it contains the current transcription file path – if you have previously transcribed and now stopped, it does not revert to an empty string On this last point, this means a non-empty transcript file path does not mean you are currently transcribing. |
| PowerShell CMatrix | Oisin Grehan | Fri, 17 Dec 2010 19:23:52 | A pure console screen saver in the vein of the popular CMatrix x-term screensaver. PowerShell 2.0 module, see blog post: http://goo.gl/5QkI5 |
| Select-EnumeratedType | Oisin Grehan | Thu, 28 Oct 2010 04:02:34 | UPDATED 2010/10/28: Visually create an instance of an enum with an easy to use menu system. Supports both single value enumerated types and bitmask (flags) enums. Also supports dynamic inline help for enumerated values (help works with powershell.exe host only – ISE is buggy.) PowerShell 2.0 required. This uses uses the new to v2 IHostUISupportsMultipleChoiceSelection interface. |
| Select-EnumeratedType | Oisin Grehan | Tue, 26 Oct 2010 12:40:27 | Visually create an instance of an enum with an easy to use menu system. Supports both single value enumerated types and bitmask (flags) enums. Also supports dynamic inline help for enumerated values (help works with powershell.exe host only – ISE is buggy.) PowerShell 2.0 required. This uses uses the new to v2 IHostUISupportsMultipleChoiceSelection interface. |
| Aero Glass PowerShell | Oisin Grehan | Fri, 06 Aug 2010 09:33:06 | Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. .\glass.ps1 # turn on .\glass.ps1 -disable # turn off |
| Invoke-WMSettingsChange | Oisin Grehan | Wed, 04 Aug 2010 07:50:53 | Notifies other processes that the global environment block has changed. This lets other processes pick changes to ENV: without having to reboot or logoff/logon. A non-zero result from SendMessageTimeout indicates success. |
| push-module function v2 | Oisin Grehan | Tue, 13 Apr 2010 07:45:12 | push-module will import a powershell v2.0 module and ensure that when the module is removed using remove-module, the functions the module clobbered are restored. UPDATE: previous version restored (promoted to global scope) clobbered functions that were visible from push-module function scope; this is wrong – it should only restore global functions. |
| push-module function | Oisin Grehan | Mon, 12 Apr 2010 21:23:29 | push-module will import a powershell v2.0 module and ensure that when the module is removed using remove-module, the functions the module clobbered are restored. |
| partial application | Oisin Grehan | Wed, 10 Mar 2010 16:56:56 | A proof of concept module implementing partial application (not currying) of functions and cmdlets in powershell. This is a functional language technique often used in languages like Haskell, ML etc. |
PowerShell Code Repository