![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Books on Powershell with .net framework All I am not looking for books for syntax. I know powershell works with .net . There are so many classes in .net and i m looking for a book that is PURELY powershell using the classes of .net . I am looking for book that talks "deeply" using .net classes with examples towards powershell. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Books on Powershell with .net framework IMHO you need to develop the skills (which I'm sure you already have) needed to interact with .NET classes. Spend some time on MSDN and try to understand how this classes and its methods/properties can be used in you scripts, After all, PowerShell's underlying layer is .NET. For instance, use the $var = new-object system.something.something if it doesn't return errors check its members $var | gm You can also use this in the console [system.something.something] if it doesn't return error check its static members [system.something.something] | gm -static If it has a method called "DoIT" you can access it [system.something.something]: oIT(parametrs)Check its parameters in the definition column to find out what parameters it takes. Personally, I like the self investigation process, it is much more satisfying. Hope that helps ![]() Shay http://scriptolog.blogspot.com Quote: > All > > I am not looking for books for syntax. I know powershell works with > .net . There are so many classes in .net and i m looking for a book > that is PURELY powershell using the classes of .net . > > I am looking for book that talks "deeply" using .net classes with > examples towards powershell. > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Books on Powershell with .net framework Here is a link to start with, taken from "Windows PowerShell: The Definitive Guide" by Lee Holmes Will be released next month from O'Reilly publishing: http://safari.oreilly.com/9780596528...and_their_uses Shay http://scriptolog.blogspot.com Quote: > IMHO you need to develop the skills (which I'm sure you already have) > needed to interact with .NET classes. Spend some time on MSDN and try > to understand how this classes and its methods/properties can be used > in you scripts, After all, PowerShell's underlying layer is .NET. > > For instance, use the $var = new-object system.something.something > > if it doesn't return errors check its members > $var | gm > You can also use this in the console > [system.something.something] > if it doesn't return error check its static members > > [system.something.something] | gm -static > > If it has a method called "DoIT" you can access it > [system.something.something]: oIT(parametrs)> > Check its parameters in the definition column to find out what > parameters it takes. > > Personally, I like the self investigation process, it is much more > satisfying. > > Hope that helps ![]() > > Shay > http://scriptolog.blogspot.com Quote: >> All >> >> I am not looking for books for syntax. I know powershell works with >> .net . There are so many classes in .net and i m looking for a book >> that is PURELY powershell using the classes of .net . >> >> I am looking for book that talks "deeply" using .net classes with >> examples towards powershell. >> |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Books on Powershell with .net framework > I am looking for book that talks "deeply" using .net classes with examples Quote: > towards powershell. the currently printed books), there are none that currently meets this criteria. Marco -- ---------------- PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Books on Powershell with .net framework very good approach. Will adhere to this. "Shay Levi" <no@xxxxxx> wrote in message news:8766a94463f08c9bc424cbf8a70@xxxxxx Quote: > IMHO you need to develop the skills (which I'm sure you already have) > needed to interact with .NET classes. Spend some time on MSDN and try to > understand how this classes and its methods/properties can be used in you > scripts, After all, PowerShell's underlying layer is .NET. > > For instance, use the $var = new-object system.something.something > > if it doesn't return errors check its members > $var | gm > > You can also use this in the console > [system.something.something] > > if it doesn't return error check its static members > > [system.something.something] | gm -static > > If it has a method called "DoIT" you can access it > [system.something.something]: oIT(parametrs)> > Check its parameters in the definition column to find out what parameters > it takes. > > Personally, I like the self investigation process, it is much more > satisfying. > > > > Hope that helps ![]() > > > > Shay > http://scriptolog.blogspot.com > > > Quote: >> All >> >> I am not looking for books for syntax. I know powershell works with >> .net . There are so many classes in .net and i m looking for a book >> that is PURELY powershell using the classes of .net . >> >> I am looking for book that talks "deeply" using .net classes with >> examples towards powershell. >> > |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Books on Powershell with .net framework Also take a look at Richard Siddaway's Weblog, the last two posts (and maybe the sequential ones) deals with how to .NET classes in PowerShell and offer some insights. Thanks Richard. Shay http://scriptolog.blogspot.com Quote: > very good approach. Will adhere to this. > > "Shay Levi" <no@xxxxxx> wrote in message > news:8766a94463f08c9bc424cbf8a70@xxxxxx > Quote: >> IMHO you need to develop the skills (which I'm sure you already have) >> needed to interact with .NET classes. Spend some time on MSDN and try >> to understand how this classes and its methods/properties can be used >> in you scripts, After all, PowerShell's underlying layer is .NET. >> >> For instance, use the $var = new-object system.something.something >> >> if it doesn't return errors check its members >> $var | gm >> You can also use this in the console >> [system.something.something] >> if it doesn't return error check its static members >> >> [system.something.something] | gm -static >> >> If it has a method called "DoIT" you can access it >> [system.something.something]: oIT(parametrs)>> >> Check its parameters in the definition column to find out what >> parameters it takes. >> >> Personally, I like the self investigation process, it is much more >> satisfying. >> >> Hope that helps ![]() >> >> Shay >> http://scriptolog.blogspot.com Quote: >>> All >>> >>> I am not looking for books for syntax. I know powershell works with >>> .net . There are so many classes in .net and i m looking for a book >>> that is PURELY powershell using the classes of .net . >>> >>> I am looking for book that talks "deeply" using .net classes with >>> examples towards powershell. >>> |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| powershell books | PowerShell | |||
| Info: Adding books to Powershell Site | PowerShell | |||
| [Ann] New PowerShell books due in May | PowerShell | |||
| ok .net3 is out, hmm what about powershell books | PowerShell | |||
| books on powershell | PowerShell | |||