View Single Post
Old 10-24-2007   #1 (permalink)
Darren Gosbell


 
 

Generating a drive function from a provider

I have been working on a provider for SQL Server Analysis Services and it is
coming across nicely. But if someone creates a new drive I would like to be
able to create a function that would enable them to navigate to the new drive
like you can with the built-in file system and registry drives.

eg.

# when someone types the following

new-psdrive ssas powerSSAS localhost

#I want to do the equivalent of typing the following

function ssas: { set-location ssas: }

Anyone know if this possible?
--
Darren Gosbell - SQL Server MVP
http://geekswithblogs.net/darrengosbell
My System SpecsSystem Spec