![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| | |||||||
| | Vista - Missing cmdlet |
| |
| 05-15-2007 | #1 |
| | 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 |
| 05-15-2007 | #2 |
| | 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 |
| 05-15-2007 | #3 |
| | 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 |
| 05-15-2007 | #4 |
| | 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 |
| 05-15-2007 | #5 |
| | 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 | |
| |
| Similar Threads for: Missing cmdlet | ||||
| 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 | |||