PowerShell Team

Automating the world one-liner at a time…

Join Me Tonight on the PowerScripting Podcast

Tonight at 9pm EST (6pm PST) (UTC-4), I'll be one of Hal Rottenberg's guiests on his live Podcast.,  You can find the live show details at the top right corner of http://powerscripting.net.  Apparently you'll be able to ask questions but not throw beer bottles (the internet is awesome!).  I have no idea what we'll talk ...

Text Output Is Not a Contract

In PS V1, this is what you get for GET-COMMAND -SYNTAX PS> Get-Command Get-Process -SyntaxGet-Process [[-Name] <String[]>] [-ComputerName <String[]>] [-Module] [-FileVersionInfo] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-WarningAction <ActionPreference>] [-ErrorVariable <String>] [-WarningVariable...
Comments are closed.0 0

Speeding Up PowerShell Startup – Updating Update-Gac.ps1

Have I ever mentioned how much I love the community?  Today Kirill Osenkov posted a comment on the blog pointing out that there was an API to get the .NET Framework install path:  RuntimeEnvironment.GetRuntimeDirectory() .  I didn' t know that and now I do.  :-) I took the opportunity to rewrite Update-Gac.ps1 and in the ...

Get-Constructor Fun

Here is a quick and dirty function I wrote after getting PO'd at having to look up documentation for constructors: NOTE:  Jim Truher thinks long typenames are useful so I added a switch (-FullName) so you could get them if you want them. function get-Constructor ([type]$type, [Switch]$FullName){    foreach ($c in $type....