Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

Missing cmdlet

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 05-15-2007   #1 (permalink)
Ron
Guest


 

Missing cmdlet

Hello All,

I am checking out some of the examples from the book, "Windows PowerShell in
Action" by Bruce Payette and it appears that either the book is wrong or I am
missing some cmdlets. I'm trying to run the Get-DomainInfo and it's not
there, nor is the next one Get-SoftwareFeatures. When I do a help get* there
not listed either.

Any suggestions? Am I doing something wrong?

Thanks
ron

My System SpecsSystem Spec
Old 05-15-2007   #2 (permalink)
Marco Shaw
Guest


 

Re: Missing cmdlet

Ron wrote:
> Hello All,
>
> I am checking out some of the examples from the book, "Windows PowerShell in
> Action" by Bruce Payette and it appears that either the book is wrong or I am
> missing some cmdlets. I'm trying to run the Get-DomainInfo and it's not
> there, nor is the next one Get-SoftwareFeatures. When I do a help get* there
> not listed either.


You can checkout the author's forum here:
http://www.manning-sandbox.com/forum.jspa?forumID=248

Now, Bruce doesn't usually make any mistakes... ;-)

I suspect these are actually *functions* defined in other parts of the
book. You will need to add these functions to your PowerShell session
or profile to be able to use them.

Marco
My System SpecsSystem Spec
Old 05-15-2007   #3 (permalink)
Ron
Guest


 

Re: Missing cmdlet

Too funny... yeah I didn't think it was Bruce's fault. More along the lines
that I was doing something wrong. Maybe I should read the entire book first.
Thanks for the tip.

ron

"Marco Shaw" wrote:

>
> You can checkout the author's forum here:
> http://www.manning-sandbox.com/forum.jspa?forumID=248
>
> Now, Bruce doesn't usually make any mistakes... ;-)
>
> I suspect these are actually *functions* defined in other parts of the
> book. You will need to add these functions to your PowerShell session
> or profile to be able to use them.
>
> Marco
>

My System SpecsSystem Spec
Old 05-15-2007   #4 (permalink)
Maximilian Hänel
Guest


 

Re: Missing cmdlet

Hi Ron,

> I am checking out some of the examples from the book, "Windows PowerShell in
> Action" by Bruce Payette and it appears that either the book is wrong or I am
> missing some cmdlets. I'm trying to run the Get-DomainInfo and it's not
> there, nor is the next one Get-SoftwareFeatures. When I do a help get* there
> not listed either.
>
> Any suggestions? Am I doing something wrong?


If you look at the books index under 'G' you can find an entry
'Get-DomainInfo Script example 500'. So if you look at page 500 you
should find the answer to your first question. 'Get-SoftwareFeatures' is
left as an exercise for you ;-)

hth

Max
My System SpecsSystem Spec
Old 05-15-2007   #5 (permalink)
Ron
Guest


 

Re: Missing cmdlet



"Maximilian Hänel" wrote:

> Hi Ron,
>
> If you look at the books index under 'G' you can find an entry
> 'Get-DomainInfo Script example 500'. So if you look at page 500 you
> should find the answer to your first question. 'Get-SoftwareFeatures' is
> left as an exercise for you ;-)
>
> hth
>
> Max



Thank you Max. It helps to read the entire page before freaking out. ;-)
My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Invoking Cmdlet Get-Location from cmdlet,cant get Currnt Directory Vikram PowerShell 2 06-05-2008 04:41 AM
Creating a cmdlet using csc.exe - missing namespaces Marco Shaw PowerShell 5 10-03-2007 06:39 AM
Whether a cmdlet derives from cmdlet or pscmdlet Marco Shaw PowerShell 1 09-19-2007 09:18 PM
Invoking a cmdlet from another cmdlet Marco Shaw PowerShell 2 09-19-2007 12:46 PM
Invoke Cmdlet from a Cmdlet =?Utf-8?B?ZnV6enkzMzM=?= PowerShell 3 08-25-2006 07:49 AM


Update your Vista Drivers Update Your Drivers Now!!

Vistax64.com 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 2005-2008