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 - Missing cmdlet

Reply
 
Old 05-15-2007   #1 (permalink)
Ron


 
 

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


 
 

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


 
 

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


 
 

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


 
 

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
Reply

Thread Tools


Similar Threads
Thread Forum
Quest AD cmdlet -what is the cmdlet to remove computer object PowerShell
Invoking Cmdlet Get-Location from cmdlet,cant get Currnt Directory PowerShell
Creating a cmdlet using csc.exe - missing namespaces PowerShell
Whether a cmdlet derives from cmdlet or pscmdlet PowerShell
Invoke Cmdlet from a Cmdlet 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