Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - Books on Powershell with .net framework

Reply
 
Old 09-03-2007   #1 (permalink)
IT Staff


 
 

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 SpecsSystem Spec
Old 09-03-2007   #2 (permalink)
Shay Levi


 
 

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 SpecsSystem Spec
Old 09-03-2007   #3 (permalink)
Shay Levi


 
 

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 SpecsSystem Spec
Old 09-03-2007   #4 (permalink)
Marco Shaw


 
 

Re: Books on Powershell with .net framework

> I am looking for book that talks "deeply" using .net classes with examples
Quote:

> towards powershell.
To my knowledge, and I've seen most of the books out there (I have all
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 SpecsSystem Spec
Old 09-03-2007   #5 (permalink)
IT Staff


 
 

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 SpecsSystem Spec
Old 09-05-2007   #6 (permalink)
Shay Levi


 
 

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 SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46