/\/\o\/\/ PowerShelled

This blog has moved to http://ThePowerShellGuy.com Greetings /\/\o\/\/
$AtomFeed = ("Atom.xml")
$PreviousItems = (" Getting and Working With SQL Server data in Monad "," MSH Cluster Watcher script "," Monad NewYears Clock "," Using ADO to get data from Excel to Dataset in Monad. "," Monad Really Does Rock "," Passing (not so) mandatory Parameters to WMI metho... "," Saving a WMI instance to a XML-file from MSH "," MSH Orphan share remover Tool "," MSH Welcome screen "," Read the raw Monad XML helpfiles "," ")

Friday, December 30, 2005

 


MSH Get-MSDN Function



I made this small function to start the MSDN library in the standard browser for a Typename.

Function Get-MSDN ($type = "default") {
  (new-object -com shell.application).Open("http://msdn2.microsoft.com/library/$type.aspx")
}


Inspired by a BlogItem on the Monad Team Blog, that adds a helplink to the get-member data.

Getting MSDN help urls for .NET BCL types and Members

*tip* if you do not want to edit your default Types.MSHXML you can also use update typedata for this :
see : Update-TypeData (Democracy to the types)
there are also some examples of adding methods to Objects in that post.

but I liked this also as a short function,

Get-MSDN
will get you to Root of the Library
get-MSDN system.object
will get you to The System.Object Page
get-msdn system.object.GetHashCode
will get you to The System.Object getHashCode Method Page.

gr /\/\o\/\/


Comments: Post a Comment



<< Home

Archives

October 2005   November 2005   December 2005   January 2006   February 2006   March 2006   April 2006   May 2006   June 2006   July 2006   August 2006   September 2006   October 2006   November 2006   December 2006  

$Links = ("PowerShell RC1 Docs"," PowerShell RC1 X86"," PowerShell RC1 X64"," Monad GettingStarted guide"," Monad Progamming Guide"," Monad SDK"," Monad videos on Channel 9"," MSH Community Workspace"," scripts.readify.net "," MonadSource"," www.reskit.net"," PowerShell Blog"," Under The Stairs"," computerperformance powershell Home"," proudlyserving"," MSH on wikipedia"," MSHWiki Channel 9"," Keith Hill's Blog"," Precision Computing"," PowerShell for fun"," MSH Memo (Japanese)"," monadblog")

find-blog -about "PowerShell","Monad" | out-Technorati.
find-blog -contains "","" | out-Technorati.
Google
 
Web mow001.blogspot.com

This page is powered by Blogger. Isn't yours?