![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| 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 Specs![]() |
| | #2 (permalink) |
| 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 Specs![]() |
| | #3 (permalink) |
| 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 Specs![]() |
| | #4 (permalink) |
| 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 Specs![]() |
| | #5 (permalink) |
| 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 Specs![]() |
![]() |
| 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 |