| Author | Messages | |
bsonposh
Posts:167
 | | 04/29/2008 11:08 AM |
| What about Binary Data? Unicode? or iADSLargeInteger. The biggest thing you lose is ability to maintain the integrity of the object/text throughout the pipe. Using .NET you know if you have FileInfo object it will stay a FileInfo object until you decide to change it. The problem isn't passing the text, it is knowing what to do with it on the flip side. The benefit you have with the object model is Typing. I can TYPE the data so that there is no ambiguity in the interpretation of the "text."
I don't feel the need to debate the design of Powershell (that is water under the bridge,) but the validity of the usefulness of dealing with Objects. Ironically we both agree with the crapiness of the s.ds.d namespace and ADSI in general, but that is a VERY small scope for Powershell. When it comes to Dealing with Processes, Files, WMI, and the slew of other things that Powershell Addresses from an Admin point of view using the .NET namespace was a good idea.
What Dushyant was talking about was, in Powershell you can have Parameters that can be passed via the Pipe. These Parameters are determined by Type or by Name. If it is a STRING it goes here, if it is a DATETIME it goes there, if it is ... You get the idea. You can NOT achieve that passing just text. It is just not feasible. Basically, I get your point, The serialization is still done I just don't have to deal with it. This is the draw. I don't have to worry about it. Not to mention it is SUPER powerful.
In regards to "defined this standard passing mechanism" They did... its called .NET Almost all the stuff they needed already had pre-defined .NET classes that could be used.
I really respect your opinion. You have a lot of experience, but I think in this case you have been blinded by your hatred for .NET (albeit understandable hatred.) Could Powershell have been done different... absolutely. Could it have been done better... absolutely. Should they have used .NET or just a standard parsing methods... that is converstation for you and Jeffrey Snover.
btw... Powershell is not a shell. It is an Engine similar to vbscript parsing engine. They just have a shell that loads Powershell. On Tue, Apr 29, 2008 at 9:48 AM, joe <listmail@joeware.net> wrote:
> Give me an example or three of things you can do that you don't think > could be done otherwise that you believe to be a function of passing info > between programs (or if you prefer, call them cmdlets) that you can't do > with passing text. And as we were discussing at the summit, these should not > be things based on two apps not speaking the same language because no one > defined a protocol for the text streaming interchang, but things that > couldn't be done period even if that was defined. As you know and despite > the incorrect assumption/comment made by Dushyant in the PoS session, > Adfind/Mod and ds* can actually communicate with each other in great part > because I allowed it and that isn't all that hard as long as people agree on > a format. But give me an example of something that can't be done with that > object passing that you feel can't be accomplished if the > agreements/protocols aren't established. > > I think we would have been better served if MSFT had defined this standard > passing mechanism versus doing what was done. Something that wasn't solely > reliant on .NET. The .NET requirement is a silly requirement IMO. Anyway, > this wouldn't even need a whole new shell to pull off and the foundation > would have built up a lot faster and be far wider and accepted now than it > is. Again, IMO. > > joe > > > -- > O'Reilly Active Directory Third Edition - > http://www.joeware.net/win/ad3e.htm > > > > ------------------------------ > *From:* ActiveDir-owner@mail.activedir.org [mailto: > ActiveDir-owner@mail.activedir.org] *On Behalf Of *Brandon Shell > *Sent:* Tuesday, April 29, 2008 9:34 AM > > *To:* ActiveDir@mail.activedir.org > *Subject:* Re: [ActiveDir] [OT] BIND as Secondary DNS? > > While I still think it would be cool for you to write them... I have > S.DS.P now... That solves my immediate need so I can do the rest  > > It may not be as fast as ADFind, but the flexibility of objects will more > than make up for that time lost with my ability to process the output. > > To be clear... I think ADFind and ADMod awesome tools and I am very > grateful for them. > On Tue, Apr 29, 2008 at 9:08 AM, joe <listmail@joeware.net> wrote: > > > Absolutely, I just don't consider that exploring... If I did explore > > that area, it would be to work out how to write native code to interface > > with it. > > > > If ya want it to so bad... you write it.  > > > > joe > > > > > > -- > > O'Reilly Active Directory Third Edition - > > http://www.joeware.net/win/ad3e.htm > > > > Those who can.... do. > > Those who can't... beg. > > > > > > ------------------------------ > > *From:* ActiveDir-owner@mail.activedir.org [mailto: > > ActiveDir-owner@mail.activedir.org] *On Behalf Of *Brandon Shell > > *Sent:* Tuesday, April 29, 2008 9:02 AM > > *To:* ActiveDir@mail.activedir.org > > *Subject:* Re: [ActiveDir] [OT] BIND as Secondary DNS? > > > > *never stop exploring...*  > > > > On Tue, Apr 29, 2008 at 8:50 AM, joe <listmail@joeware.net> wrote: > > > > > Very funnyΏ].... > > > > > >  > > > > > > joe > > > > > > > > > Ώ] But accurate > > > > > > > > > -- > > > O'Reilly Active Directory Third Edition - > > > http://www.joeware.net/win/ad3e.htm > > > > > > > > > -----Original Message----- > > > From: ActiveDir-owner@mail.activedir.org > > > [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dean Wells > > > Sent: Tuesday, April 29, 2008 8:17 AM > > > To: ActiveDir@mail.activedir.org > > > Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS? > > > > > > Hehe ... and not entirely dissimilar to what happens when people ask > > > joe > > > .NET/Powershell questions in-person; joe: can you write a wrapper ... > > > joe? > > > joe? ... where'd he go? > > > > > > -- > > > Dean Wells > > > MSEtechnology > > > t Email: dwells@msetechnology.com > > > http://msetechnology.com > > > > > > -----Original Message----- > > > From: ActiveDir-owner@mail.activedir.org > > > [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Richard Kline > > > Sent: Monday, April 28, 2008 10:20 AM > > > To: ActiveDir@mail.activedir.org > > > Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS? > > > > > > First Nomination for Understatement of the Year award: > > > > > > -----Original Message----- > > > From: ActiveDir-owner@mail.activedir.org > > > [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of joe > > > Sent: Sunday, April 27, 2008 4:28 PM > > > To: ActiveDir@mail.activedir.org > > > Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS? > > > > > > ... > > > > > > A DNS server that is dynamically handed its address is NOT the most > > > useful > > > device you could have on a network...  > > > > > > > > > joe > > > > > > > > > List info : http://www.activedir.org/List.aspx > > > List FAQ : http://www.activedir.org/ListFAQ.aspx > > > List archive: http://www.activedir.org/ma/default.aspx > > > > > > List info : http://www.activedir.org/List.aspx > > > List FAQ : http://www.activedir.org/ListFAQ.aspx > > > List archive: http://www.activedir.org/ma/default.aspx > > > > > > List info : http://www.activedir.org/List.aspx > > > List FAQ : http://www.activedir.org/ListFAQ.aspx > > > List archive: http://www.activedir.org/ma/default.aspx > > > > > > > >
| | | |
| listmail
Posts:428
 | | 04/29/2008 12:44 PM |
| Binary, Unicode, and large int can't be marshalled into text? How do you know that isn't happening in the backend somewhere currently? Say some XML stream of some sort? There is and has been a whole object passing model that has existed for years and years and years called CORBA but the actual implementation of that is a bit FAT for what we are talking about because it needed to account for many things we don't care about in the command line management world. But a similar idea slimmed down to the specific case of passing data between two command line processes would be nice and it could be published as a protocol instead of locking into a specific app model.
I think you are happy that the data marshalling is done and you don't have to deal with it, the fact that it is powershell or .net or anything else doesn't really play into it. Anything given to you with the same functionality would have been fine. It is like when people rave about PowerShell because it lets them manage Exchange at the command line, that isn't an argument for PowerShell, it is an argument for having anything that can actually do what you need that didn't exist or possibly didn't know how to do before.
I like the idea of PowerShell, I think the .NET requirement was extremely shortsighted considering it isn't what I would consider a first class citizen of the OS. But I still don't see anything that PoS does for me that makes me go, my god, I could never accomplish that any other way. Once we start seeing kernel components written in and being run by .NET pieces meaning perf has actually been looked at in some serious way, .NET will start looking more attractive to me. Write now the arguments are mostly of the variety that people gave for VB years ago and that wasn't enough to get me to use VB either. Ditto Java. Now when Borland came out with Borland Builder which gave me VB capability with native good c++ code, I was all over that.
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
_____
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell Sent: Tuesday, April 29, 2008 11:05 AM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
What about Binary Data? Unicode? or iADSLargeInteger. The biggest thing you lose is ability to maintain the integrity of the object/text throughout the pipe. Using .NET you know if you have FileInfo object it will stay a FileInfo object until you decide to change it. The problem isn't passing the text, it is knowing what to do with it on the flip side. The benefit you have with the object model is Typing. I can TYPE the data so that there is no ambiguity in the interpretation of the "text."
I don't feel the need to debate the design of Powershell (that is water under the bridge,) but the validity of the usefulness of dealing with Objects. Ironically we both agree with the crapiness of the s.ds.d namespace and ADSI in general, but that is a VERY small scope for Powershell. When it comes to Dealing with Processes, Files, WMI, and the slew of other things that Powershell Addresses from an Admin point of view using the .NET namespace was a good idea.
What Dushyant was talking about was, in Powershell you can have Parameters that can be passed via the Pipe. These Parameters are determined by Type or by Name. If it is a STRING it goes here, if it is a DATETIME it goes there, if it is ... You get the idea. You can NOT achieve that passing just text. It is just not feasible. Basically, I get your point, The serialization is still done I just don't have to deal with it. This is the draw. I don't have to worry about it. Not to mention it is SUPER powerful.
In regards to "defined this standard passing mechanism" They did... its called .NET Almost all the stuff they needed already had pre-defined .NET classes that could be used.
I really respect your opinion. You have a lot of experience, but I think in this case you have been blinded by your hatred for .NET (albeit understandable hatred.) Could Powershell have been done different... absolutely. Could it have been done better... absolutely. Should they have used .NET or just a standard parsing methods... that is converstation for you and Jeffrey Snover.
btw... Powershell is not a shell. It is an Engine similar to vbscript parsing engine. They just have a shell that loads Powershell.
On Tue, Apr 29, 2008 at 9:48 AM, joe <listmail@joeware.net> wrote:
Give me an example or three of things you can do that you don't think could be done otherwise that you believe to be a function of passing info between programs (or if you prefer, call them cmdlets) that you can't do with passing text. And as we were discussing at the summit, these should not be things based on two apps not speaking the same language because no one defined a protocol for the text streaming interchang, but things that couldn't be done period even if that was defined. As you know and despite the incorrect assumption/comment made by Dushyant in the PoS session, Adfind/Mod and ds* can actually communicate with each other in great part because I allowed it and that isn't all that hard as long as people agree on a format. But give me an example of something that can't be done with that object passing that you feel can't be accomplished if the agreements/protocols aren't established.
I think we would have been better served if MSFT had defined this standard passing mechanism versus doing what was done. Something that wasn't solely reliant on .NET. The .NET requirement is a silly requirement IMO. Anyway, this wouldn't even need a whole new shell to pull off and the foundation would have built up a lot faster and be far wider and accepted now than it is. Again, IMO.
joe
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
_____
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell
Sent: Tuesday, April 29, 2008 9:34 AM
To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
While I still think it would be cool for you to write them... I have S.DS.P now... That solves my immediate need so I can do the rest 
It may not be as fast as ADFind, but the flexibility of objects will more than make up for that time lost with my ability to process the output.
To be clear... I think ADFind and ADMod awesome tools and I am very grateful for them.
On Tue, Apr 29, 2008 at 9:08 AM, joe <listmail@joeware.net> wrote:
Absolutely, I just don't consider that exploring... If I did explore that area, it would be to work out how to write native code to interface with it.
If ya want it to so bad... you write it. 
joe
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
Those who can.... do. Those who can't... beg.
_____
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell Sent: Tuesday, April 29, 2008 9:02 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
never stop exploring... 
On Tue, Apr 29, 2008 at 8:50 AM, joe <listmail@joeware.net> wrote:
Very funnyΏ]....

joe
Ώ] But accurate
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
-----Original Message----- From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dean Wells Sent: Tuesday, April 29, 2008 8:17 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
Hehe ... and not entirely dissimilar to what happens when people ask joe .NET/Powershell questions in-person; joe: can you write a wrapper ... joe? joe? ... where'd he go?
-- Dean Wells MSEtechnology t Email: dwells@msetechnology.com http://msetechnology.com <http://msetechnology.com/>
-----Original Message----- From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Richard Kline Sent: Monday, April 28, 2008 10:20 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
First Nomination for Understatement of the Year award:
-----Original Message----- From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of joe Sent: Sunday, April 27, 2008 4:28 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
...
A DNS server that is dynamically handed its address is NOT the most useful device you could have on a network... 
joe
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
| | | |
| sbradcpa
Posts:298
 | | 04/29/2008 1:09 PM |
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> I think it's what you are used to and what makes sense to your platform.
Up here in the GUI world PowerShell is being used all around me. SBS is exposing it in the 2k8 era and using it for antispam cmdlets in Exchange 2k7, move data scripting and it's being used in the backup tasks. IIS 7 just came out with a PowerShell platform as well.
You and your blinking c prompt server core world it's understandable :-)
Forgive the very newb question... in my platform I am looking at PowerShell but find that the PowerShell scripting tutorials assume a foundational knowledge of WMI, Common Information Model Standards and what not. What resource would you gurus say is the best one for better understanding these foundations?
joe wrote: <blockquote cite="mid:14e601c8aa18$ccfa6c80$7a00a8c0@test.loc" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta content="MSHTML 6.00.6000.16608" name="GENERATOR"> <div dir="ltr" align="left"><span class="059244616-29042008"><font color="#0000ff" face="Arial" size="2">Note that I am not saying no one else should be using PoS or .NET... I am saying for me, it hasn't made any sense to do so IMO. I actually recommend some others to use it because it would be the quickest easiest way for them to spin up. But when people ask me to get involved with it, I don't see the benefit *to me* to do so and say so. This includes writing wrappers, etc for it because people seem to think I do certain things better than others. </font></span></div> <div> </div> <div align="left"> <div> </div> <div align="left"> <div dir="ltr" align="left"><span class="625444604-27012006"><font color="#0000ff" face="Arial" size="2">--</font></span></div> <div dir="ltr" align="left"><span class="625444604-27012006"><font color="#0000ff" face="Arial" size="2">O'Reilly Active Directory Third Edition - <a moz-do-not-send="true" title="blocked::http://www.joeware.net/win/ad3e.htm" href="http://www.joeware.net/win/ad3e.htm">http://www.joeware.net/win/ad3e.htm</a> </font></span></div> <div dir="ltr" align="left"><span class="625444604-27012006"></span> </div> </div> </div> <div> </div>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"> <hr tabindex="-1"><font face="Tahoma" size="2"><b>From:</b> <a class="moz-txt-link-abbreviated" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org">ActiveDir-owner@mail.activedir.org</a> [<a class="moz-txt-link-freetext" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org">mailto:ActiveDir-owner@mail.activedir.org</a>] <b>On Behalf Of </b>joe
<b>Sent:</b> Tuesday, April 29, 2008 12:42 PM
<b>To:</b> <a class="moz-txt-link-abbreviated" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir'+'@'+'mail'+'.activedir')".org">ActiveDir@mail.activedir.org</a>
<b>Subject:</b> RE: [ActiveDir] [OT] BIND as Secondary DNS?
</font>
</div> <div dir="ltr" align="left"><span class="606462816-29042008"><font color="#0000ff" face="Arial" size="2">Binary, Unicode, and large int can't be marshalled into text? How do you know that isn't happening in the backend somewhere currently? Say some XML stream of some sort? There is and has been a whole object passing model that has existed for years and years and years called CORBA but the actual implementation of that is a bit FAT for what we are talking about because it needed to account for many things we don't care about in the command line management world. But a similar idea slimmed down to the specific case of passing data between two command line processes would be nice and it could be published as a protocol instead of locking into a specific app model. </font></span></div> <div dir="ltr" align="left"><span class="606462816-29042008"></span> </div> <div dir="ltr" align="left"><span class="606462816-29042008"><font color="#0000ff" face="Arial" size="2">I think you are happy that the data marshalling is done and you don't have to deal with it, the fact that it is powershell or .net or anything else doesn't really play into it. Anything given to you with the same functionality would have been fine. It is like when people rave about PowerShell because it lets them manage Exchange at the command line, that isn't an argument for PowerShell, it is an argument for having anything that can actually do what you need that didn't exist or possibly didn't know how to do before. </font></span></div> <div> </div> <div><font color="#0000ff" face="Arial" size="2"><span class="606462816-29042008">I like the idea of PowerShell, I think the .NET requirement was extremely shortsighted considering it isn't what I would consider a first class citizen of the OS. But I still don't see anything that PoS does for me that makes me go, my god, I could never accomplish that any other way. Once we start seeing kernel components written in and being run by .NET pieces meaning perf has actually been looked at in some serious way, .NET will start looking more attractive to me. Write now the arguments are mostly of the variety that people gave for VB years ago and that wasn't enough to get me to use VB either. Ditto Java. Now when Borland came out with Borland Builder which gave me VB capability with native good c++ code, I was all over that. </span></font></div> <div> </div> <div align="left"> <div> </div> <div align="left"> <div dir="ltr" align="left"><span class="625444604-27012006"><font color="#0000ff" face="Arial" size="2">--</font></span></div> <div dir="ltr" align="left"><span class="625444604-27012006"><font color="#0000ff" face="Arial" size="2">O'Reilly Active Directory Third Edition - <a moz-do-not-send="true" title="blocked::http://www.joeware.net/win/ad3e.htm" href="http://www.joeware.net/win/ad3e.htm">http://www.joeware.net/win/ad3e.htm</a> </font></span></div> <div dir="ltr" align="left"><span class="625444604-27012006"></span> </div> </div> </div> <div> </div>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"> <hr tabindex="-1"><font face="Tahoma" size="2"><b>From:</b> <a class="moz-txt-link-abbreviated" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org">ActiveDir-owner@mail.activedir.org</a> [<a class="moz-txt-link-freetext" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org">mailto:ActiveDir-owner@mail.activedir.org</a>] <b>On Behalf Of </b>Brandon Shell
<b>Sent:</b> Tuesday, April 29, 2008 11:05 AM
<b>To:</b> <a class="moz-txt-link-abbreviated" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir'+'@'+'mail'+'.activedir')".org">ActiveDir@mail.activedir.org</a>
<b>Subject:</b> Re: [ActiveDir] [OT] BIND as Secondary DNS?
</font>
</div> <div>What about Binary Data? Unicode? or iADSLargeInteger. The biggest thing you lose is ability to maintain the integrity of the object/text throughout the pipe. Using .NET you know if you have FileInfo object it will stay a FileInfo object until you decide to change it. The problem isn't passing the text, it is knowing what to do with it on the flip side. The benefit you have with the object model is Typing. I can TYPE the data so that there is no ambiguity in the interpretation of the "text."</div> <div> </div> <div>I don't feel the need to debate the design of Powershell (that is water under the bridge,) but the validity of the usefulness of dealing with Objects. Ironically we both agree with the crapiness of the s.ds.d namespace and ADSI in general, but that is a VERY small scope for Powershell. When it comes to Dealing with Processes, Files, WMI, and the slew of other things that Powershell Addresses from an Admin point of view using the .NET namespace was a good idea.</div> <div> </div> <div>What Dushyant was talking about was, in Powershell you can have Parameters that can be passed via the Pipe. These Parameters are determined by Type or by Name. If it is a STRING it goes here, if it is a DATETIME it goes there, if it is ... You get the idea. You can NOT achieve that passing just text. It is just not feasible. Basically, I get your point, The serialization is still done I just don't have to deal with it. This is the draw. I don't have to worry about it. Not to mention it is SUPER powerful. </div> <div> </div> <div>In regards to "<font color="#0000ff">defined this standard passing mechanism" </font>They did... its called .NET Almost all the stuff they needed already had pre-defined .NET classes that could be used.</div> <div> </div> <div>I really respect your opinion. You have a lot of experience, but I think in this case you have been blinded by your hatred for .NET (albeit understandable hatred.) Could Powershell have been done different... absolutely. Could it have been done better... absolutely. Should they have used .NET or just a standard parsing methods... that is converstation for you and Jeffrey Snover.</div> <div> </div> <div>btw... Powershell is not a shell. It is an Engine similar to vbscript parsing engine. They just have a shell that loads Powershell.
</div> <div class="gmail_quote">On Tue, Apr 29, 2008 at 9:48 AM, joe <<a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'listmail'+'@'+'joeware'+'.net')">listmail@joeware.net</a>> wrote:
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"> <div> <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Give me an example or three of things you can do that you don't think could be done otherwise that you believe to be a function of passing info between programs (or if you prefer, call them cmdlets) that you can't do with passing text. And as we were discussing at the summit, these should not be things based on two apps not speaking the same language because no one defined a protocol for the text streaming interchang, but things that couldn't be done period even if that was defined. As you know and despite the incorrect assumption/comment made by Dushyant in the PoS session, Adfind/Mod and ds* can actually communicate with each other in great part because I allowed it and that isn't all that hard as long as people agree on a format. But give me an example of something that can't be done with that object passing that you feel can't be accomplished if the agreements/protocols aren't established.</font></span></div> <div dir="ltr" align="left"><span></span> </div> <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">I think we would have been better served if MSFT had defined this standard passing mechanism versus doing what was done. Something that wasn't solely reliant on .NET. The .NET requirement is a silly requirement IMO. Anyway, this wouldn't even need a whole new shell to pull off and the foundation would have built up a lot faster and be far wider and accepted now than it is. Again, IMO.</font></span></div> <div class="Ih2E3d"> <div dir="ltr" align="left"><span></span> </div> <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"> joe</font></span></div> <div> </div> <div align="left"> <div> </div> <div align="left"> <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">--</font></span></div> <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">O'Reilly Active Directory Third Edition - <a moz-do-not-send="true" title="blocked::http://www.joeware.net/win/ad3e.htm" href="http://www.joeware.net/win/ad3e.htm" target="_blank">http://www.joeware.net/win/ad3e.htm</a> </font></span></div> <div dir="ltr" align="left"><span></span> </div> </div> </div> <div> </div>
</div> <div dir="ltr" align="left" lang="en-us"> <hr> <font face="Tahoma" size="2"> <div class="Ih2E3d"><b>From:</b> <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir-owner@mail.activedir.org</a> [mailto:<a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir-owner@mail.activedir.org</a>] <b>On Behalf Of </b>Brandon Shell
</div> <b>Sent:</b> Tuesday, April 29, 2008 9:34 AM <div> <div class="Wj3C7c">
<b>To:</b> <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir@mail.activedir.org</a>
<b>Subject:</b> Re: [ActiveDir] [OT] BIND as Secondary DNS?
</div> </div> </font>
</div> <div> <div class="Wj3C7c"> <div>While I still think it would be cool for you to write them... I have S.DS.P now... That solves my immediate need so I can do the rest
</div> <div> </div> <div>It may not be as fast as ADFind, but the flexibility of objects will more than make up for that time lost with my ability to process the output.</div> <div> </div> <div>To be clear... I think ADFind and ADMod awesome tools and I am very grateful for them.
</div> <div class="gmail_quote">On Tue, Apr 29, 2008 at 9:08 AM, joe <<a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'listmail'+'@'+'joeware'+'.net')" target="_blank">listmail@joeware.net</a>> wrote:
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"> <div> <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Absolutely, I just don't consider that exploring... If I did explore that area, it would be to work out how to write native code to interface with it. </font></span></div> <div> </div> <div><span><font color="#0000ff" face="Arial" size="2">If ya want it to so bad... you write it. </font></span></div> <div><span></span> </div> <div><span><font color="#0000ff" face="Arial" size="2"> joe</font></span></div> <div><span></span> </div> <div align="left"> <div> </div> <div align="left"> <div> <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">--</font></span></div> <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">O'Reilly Active Directory Third Edition - <a moz-do-not-send="true" title="blocked::http://www.joeware.net/win/ad3e.htm" href="http://www.joeware.net/win/ad3e.htm" target="_blank">http://www.joeware.net/win/ad3e.htm</a> </font></span></div> </div> <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"> <div><span></span> </div> <div><span><font color="#0000ff" face="Arial" size="2">Those who can.... do. </font></span></div> <div><span><font color="#0000ff" face="Arial" size="2">Those who can't... beg.</font></span></div> </font></span></div> </div> </div> <div> </div>
<div dir="ltr" align="left" lang="en-us"> <hr> <font face="Tahoma" size="2"><b>From:</b> <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir-owner@mail.activedir.org</a> [mailto:<a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir-owner@mail.activedir.org</a>] <b>On Behalf Of </b>Brandon Shell
<b>Sent:</b> Tuesday, April 29, 2008 9:02 AM <div>
<b>To:</b> <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir@mail.activedir.org</a>
</div> <b>Subject:</b> Re: [ActiveDir] [OT] BIND as Secondary DNS?
</font>
</div> <div> <div> <u><font color="#0066cc">never stop exploring...</font></u>

<div class="gmail_quote">On Tue, Apr 29, 2008 at 8:50 AM, joe <<a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'listmail'+'@'+'joeware'+'.net')" target="_blank">listmail@joeware.net</a>> wrote:
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Very funnyΏ]....

joe
Ώ] But accurate
<div>
--
O'Reilly Active Directory Third Edition -
<a moz-do-not-send="true" href="http://www.joeware.net/win/ad3e.htm" target="_blank">http://www.joeware.net/win/ad3e.htm</a>
</div> <div>-----Original Message-----
From: <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir-owner@mail.activedir.org</a>
</div> <div> <div>[mailto:<a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir-owner@mail.activedir.org</a>] On Behalf Of Dean Wells
Sent: Tuesday, April 29, 2008 8:17 AM
To: <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir@mail.activedir.org</a>
Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
Hehe ... and not entirely dissimilar to what happens when people ask joe
.NET/Powershell questions in-person; joe: can you write a wrapper ... joe?
joe? ... where'd he go?
--
Dean Wells
MSEtechnology
t Email: <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'dwells'+'@'+'msetechnology'+'.com')" target="_blank">dwells@msetechnology.com</a>
<a moz-do-not-send="true" href="http://msetechnology.com/" target="_blank">http://msetechnology.com</a>
-----Original Message-----
From: <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir-owner@mail.activedir.org</a>
[mailto:<a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir-owner@mail.activedir.org</a>] On Behalf Of Richard Kline
Sent: Monday, April 28, 2008 10:20 AM
To: <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir@mail.activedir.org</a>
Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
First Nomination for Understatement of the Year award:
-----Original Message-----
From: <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir-owner@mail.activedir.org</a>
[mailto:<a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir-owner'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir-owner@mail.activedir.org</a>] On Behalf Of joe
Sent: Sunday, April 27, 2008 4:28 PM
To: <a moz-do-not-send="true" href="javascript:window.location.replace('ma'+'ilto:'+'ActiveDir'+'@'+'mail'+'.activedir')".org" target="_blank">ActiveDir@mail.activedir.org</a>
Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
...
A DNS server that is dynamically handed its address is NOT the most useful
device you could have on a network... 
joe
List info : <a moz-do-not-send="true" href="http://www.activedir.org/List.aspx" target="_blank">http://www.activedir.org/List.aspx</a>
List FAQ : <a moz-do-not-send="true" href="http://www.activedir.org/ListFAQ.aspx" target="_blank">http://www.activedir.org/ListFAQ.aspx</a>
List archive: <a moz-do-not-send="true" href="http://www.activedir.org/ma/default.aspx" target="_blank">http://www.activedir.org/ma/default.aspx</a>
List info : <a moz-do-not-send="true" href="http://www.activedir.org/List.aspx" target="_blank">http://www.activedir.org/List.aspx</a>
List FAQ : <a moz-do-not-send="true" href="http://www.activedir.org/ListFAQ.aspx" target="_blank">http://www.activedir.org/ListFAQ.aspx</a>
List archive: <a moz-do-not-send="true" href="http://www.activedir.org/ma/default.aspx" target="_blank">http://www.activedir.org/ma/default.aspx</a>
List info : <a moz-do-not-send="true" href="http://www.activedir.org/List.aspx" target="_blank">http://www.activedir.org/List.aspx</a>
List FAQ : <a moz-do-not-send="true" href="http://www.activedir.org/ListFAQ.aspx" target="_blank">http://www.activedir.org/ListFAQ.aspx</a>
List archive: <a moz-do-not-send="true" href="http://www.activedir.org/ma/default.aspx" target="_blank">http://www.activedir.org/ma/default.aspx</a>
</div> </div> </blockquote> </div>
</div> </div> </div> </blockquote> </div>
</div> </div> </div> </blockquote> </div>
</blockquote> </body> </html> List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
| | | |
| michael1
Posts:177
 | | 04/29/2008 1:19 PM |
| >From one of my upcoming books:
WMI stands for Windows Management Instrumentation. WMI is the Microsoft implementation of something known as CIM, which stands for Common Information Model. CIM (and therefore WMI) is an industry-standard way of representing information about computing objects. These objects include processors, processes, tasks, networks, IP addresses, routers, switches, etc. etc. There are literally hundreds of WMI objects implemented within modern versions of Windows (WMI was first available in Windows 2000 Server).
WMI provides a schema (that is, a description of the information that is available) and a specification of the format of the data contained within the schema. Within WMI, Microsoft has also defined a simple and standard mechanism for accessing the information contained therein.
In my opinion, you get a great deal of value from spending time reading the MSDN documents on (for example) Win32_Process. And if you get there, you can see all the other Win32_* items. Drill down, and lo and behold, there is a wealth of data.
Within PowerShell, start with "gwmi win32_process | fl" and go from there.
http://msdn2.microsoft.com/en-us/library/aa394372(VS.85).aspx
Regards,
Michael B. Smith
MCSE/Exchange MVP
http://TheEssentialExchange.com
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Susan Bradley, CPA aka Ebitz - SBS Rocks [MVP] Sent: Tuesday, April 29, 2008 1:01 PM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
I think it's what you are used to and what makes sense to your platform.
Up here in the GUI world PowerShell is being used all around me. SBS is exposing it in the 2k8 era and using it for antispam cmdlets in Exchange 2k7, move data scripting and it's being used in the backup tasks. IIS 7 just came out with a PowerShell platform as well.
You and your blinking c prompt server core world it's understandable :-)
Forgive the very newb question... in my platform I am looking at PowerShell but find that the PowerShell scripting tutorials assume a foundational knowledge of WMI, Common Information Model Standards and what not. What resource would you gurus say is the best one for better understanding these foundations?
joe wrote:
Note that I am not saying no one else should be using PoS or .NET... I am saying for me, it hasn't made any sense to do so IMO. I actually recommend some others to use it because it would be the quickest easiest way for them to spin up. But when people ask me to get involved with it, I don't see the benefit *to me* to do so and say so. This includes writing wrappers, etc for it because people seem to think I do certain things better than others.
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
_____
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of joe Sent: Tuesday, April 29, 2008 12:42 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
Binary, Unicode, and large int can't be marshalled into text? How do you know that isn't happening in the backend somewhere currently? Say some XML stream of some sort? There is and has been a whole object passing model that has existed for years and years and years called CORBA but the actual implementation of that is a bit FAT for what we are talking about because it needed to account for many things we don't care about in the command line management world. But a similar idea slimmed down to the specific case of passing data between two command line processes would be nice and it could be published as a protocol instead of locking into a specific app model.
I think you are happy that the data marshalling is done and you don't have to deal with it, the fact that it is powershell or .net or anything else doesn't really play into it. Anything given to you with the same functionality would have been fine. It is like when people rave about PowerShell because it lets them manage Exchange at the command line, that isn't an argument for PowerShell, it is an argument for having anything that can actually do what you need that didn't exist or possibly didn't know how to do before.
I like the idea of PowerShell, I think the .NET requirement was extremely shortsighted considering it isn't what I would consider a first class citizen of the OS. But I still don't see anything that PoS does for me that makes me go, my god, I could never accomplish that any other way. Once we start seeing kernel components written in and being run by .NET pieces meaning perf has actually been looked at in some serious way, .NET will start looking more attractive to me. Write now the arguments are mostly of the variety that people gave for VB years ago and that wasn't enough to get me to use VB either. Ditto Java. Now when Borland came out with Borland Builder which gave me VB capability with native good c++ code, I was all over that.
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
_____
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell Sent: Tuesday, April 29, 2008 11:05 AM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
What about Binary Data? Unicode? or iADSLargeInteger. The biggest thing you lose is ability to maintain the integrity of the object/text throughout the pipe. Using .NET you know if you have FileInfo object it will stay a FileInfo object until you decide to change it. The problem isn't passing the text, it is knowing what to do with it on the flip side. The benefit you have with the object model is Typing. I can TYPE the data so that there is no ambiguity in the interpretation of the "text."
I don't feel the need to debate the design of Powershell (that is water under the bridge,) but the validity of the usefulness of dealing with Objects. Ironically we both agree with the crapiness of the s.ds.d namespace and ADSI in general, but that is a VERY small scope for Powershell. When it comes to Dealing with Processes, Files, WMI, and the slew of other things that Powershell Addresses from an Admin point of view using the .NET namespace was a good idea.
What Dushyant was talking about was, in Powershell you can have Parameters that can be passed via the Pipe. These Parameters are determined by Type or by Name. If it is a STRING it goes here, if it is a DATETIME it goes there, if it is ... You get the idea. You can NOT achieve that passing just text. It is just not feasible. Basically, I get your point, The serialization is still done I just don't have to deal with it. This is the draw. I don't have to worry about it. Not to mention it is SUPER powerful.
In regards to "defined this standard passing mechanism" They did... its called .NET Almost all the stuff they needed already had pre-defined .NET classes that could be used.
I really respect your opinion. You have a lot of experience, but I think in this case you have been blinded by your hatred for .NET (albeit understandable hatred.) Could Powershell have been done different... absolutely. Could it have been done better... absolutely. Should they have used .NET or just a standard parsing methods... that is converstation for you and Jeffrey Snover.
btw... Powershell is not a shell. It is an Engine similar to vbscript parsing engine. They just have a shell that loads Powershell.
On Tue, Apr 29, 2008 at 9:48 AM, joe <listmail@joeware.net> wrote:
Give me an example or three of things you can do that you don't think could be done otherwise that you believe to be a function of passing info between programs (or if you prefer, call them cmdlets) that you can't do with passing text. And as we were discussing at the summit, these should not be things based on two apps not speaking the same language because no one defined a protocol for the text streaming interchang, but things that couldn't be done period even if that was defined. As you know and despite the incorrect assumption/comment made by Dushyant in the PoS session, Adfind/Mod and ds* can actually communicate with each other in great part because I allowed it and that isn't all that hard as long as people agree on a format. But give me an example of something that can't be done with that object passing that you feel can't be accomplished if the agreements/protocols aren't established.
I think we would have been better served if MSFT had defined this standard passing mechanism versus doing what was done. Something that wasn't solely reliant on .NET. The .NET requirement is a silly requirement IMO. Anyway, this wouldn't even need a whole new shell to pull off and the foundation would have built up a lot faster and be far wider and accepted now than it is. Again, IMO.
joe
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
_____
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell
Sent: Tuesday, April 29, 2008 9:34 AM
To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
While I still think it would be cool for you to write them... I have S.DS.P now... That solves my immediate need so I can do the rest 
It may not be as fast as ADFind, but the flexibility of objects will more than make up for that time lost with my ability to process the output.
To be clear... I think ADFind and ADMod awesome tools and I am very grateful for them.
On Tue, Apr 29, 2008 at 9:08 AM, joe <listmail@joeware.net> wrote:
Absolutely, I just don't consider that exploring... If I did explore that area, it would be to work out how to write native code to interface with it.
If ya want it to so bad... you write it. 
joe
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
Those who can.... do.
Those who can't... beg.
_____
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell Sent: Tuesday, April 29, 2008 9:02 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
never stop exploring... 
On Tue, Apr 29, 2008 at 8:50 AM, joe <listmail@joeware.net> wrote:
Very funnyΏ]....

joe
Ώ] But accurate
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
-----Original Message----- From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dean Wells Sent: Tuesday, April 29, 2008 8:17 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
Hehe ... and not entirely dissimilar to what happens when people ask joe .NET/Powershell questions in-person; joe: can you write a wrapper ... joe? joe? ... where'd he go?
-- Dean Wells MSEtechnology t Email: dwells@msetechnology.com http://msetechnology.com <http://msetechnology.com/>
-----Original Message----- From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Richard Kline Sent: Monday, April 28, 2008 10:20 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
First Nomination for Understatement of the Year award:
-----Original Message----- From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of joe Sent: Sunday, April 27, 2008 4:28 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
...
A DNS server that is dynamically handed its address is NOT the most useful device you could have on a network... 
joe
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
| | | |
| michael1
Posts:177
 | | 04/29/2008 1:39 PM |
| I don't think that Susan is the "normal" SBS admin either... :-)
Otherwise, I completely agree...
Regards,
Michael B. Smith MCSE/Exchange MVP http://TheEssentialExchange.com
-----Original Message----- From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Akomolafe, Deji Sent: Tuesday, April 29, 2008 1:23 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
I don't think typical SBS admins wade in the MSDN (cess)pool much, Michael. Not enough of us "real" admins do so either, but it is too much to expect from a "normal" SBS admin, IMO 
Sincerely, _____ (, / | /) /) /) /---| (/_ ______ ___// _ // _ ) / |_/(__(_) // (_(_)(/_(_(_/(__(/_ (_/ /) (/ Microsoft MVP - Directory Services www.akomolafe.name<http://www.akomolafe.name/> - we know IT -5.75, -3.23 Do you now realize that Today is the Tomorrow you were worried about Yesterday? -anon ________________________________ From: ActiveDir-owner@mail.activedir.org [ActiveDir-owner@mail.activedir.org] On Behalf Of Michael B. Smith [michael@TheEssentialExchange.com] Sent: Tuesday, April 29, 2008 10:17 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
>From one of my upcoming books:
WMI stands for Windows Management Instrumentation. WMI is the Microsoft implementation of something known as CIM, which stands for Common Information Model. CIM (and therefore WMI) is an industry-standard way of representing information about computing objects. These objects include processors, processes, tasks, networks, IP addresses, routers, switches, etc. etc. There are literally hundreds of WMI objects implemented within modern versions of Windows (WMI was first available in Windows 2000 Server).
WMI provides a schema (that is, a description of the information that is available) and a specification of the format of the data contained within the schema. Within WMI, Microsoft has also defined a simple and standard mechanism for accessing the information contained therein. In my opinion, you get a great deal of value from spending time reading the MSDN documents on (for example) Win32_Process. And if you get there, you can see all the other Win32_* items. Drill down, and lo and behold, there is a wealth of data.
Within PowerShell, start with "gwmi win32_process | fl" and go from there.
http://msdn2.microsoft.com/en-us/library/aa394372(VS.85).aspx
Regards,
Michael B. Smith MCSE/Exchange MVP http://TheEssentialExchange.com
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Susan Bradley, CPA aka Ebitz - SBS Rocks [MVP] Sent: Tuesday, April 29, 2008 1:01 PM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
I think it's what you are used to and what makes sense to your platform.
Up here in the GUI world PowerShell is being used all around me. SBS is exposing it in the 2k8 era and using it for antispam cmdlets in Exchange 2k7, move data scripting and it's being used in the backup tasks. IIS 7 just came out with a PowerShell platform as well.
You and your blinking c prompt server core world it's understandable :-)
Forgive the very newb question... in my platform I am looking at PowerShell but find that the PowerShell scripting tutorials assume a foundational knowledge of WMI, Common Information Model Standards and what not. What resource would you gurus say is the best one for better understanding these foundations?
joe wrote: Note that I am not saying no one else should be using PoS or .NET... I am saying for me, it hasn't made any sense to do so IMO. I actually recommend some others to use it because it would be the quickest easiest way for them to spin up. But when people ask me to get involved with it, I don't see the benefit *to me* to do so and say so. This includes writing wrappers, etc for it because people seem to think I do certain things better than others.
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
________________________________ From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org > [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of joe Sent: Tuesday, April 29, 2008 12:42 PM To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS? Binary, Unicode, and large int can't be marshalled into text? How do you know that isn't happening in the backend somewhere currently? Say some XML stream of some sort? There is and has been a whole object passing model that has existed for years and years and years called CORBA but the actual implementation of that is a bit FAT for what we are talking about because it needed to account for many things we don't care about in the command line management world. But a similar idea slimmed down to the specific case of passing data between two command line processes would be nice and it could be published as a protocol instead of locking into a specific app model.
I think you are happy that the data marshalling is done and you don't have to deal with it, the fact that it is powershell or .net or anything else doesn't really play into it. Anything given to you with the same functionality would have been fine. It is like when people rave about PowerShell because it lets them manage Exchange at the command line, that isn't an argument for PowerShell, it is an argument for having anything that can actually do what you need that didn't exist or possibly didn't know how to do before.
I like the idea of PowerShell, I think the .NET requirement was extremely shortsighted considering it isn't what I would consider a first class citizen of the OS. But I still don't see anything that PoS does for me that makes me go, my god, I could never accomplish that any other way. Once we start seeing kernel components written in and being run by .NET pieces meaning perf has actually been looked at in some serious way, .NET will start looking more attractive to me. Write now the arguments are mostly of the variety that people gave for VB years ago and that wasn't enough to get me to use VB either. Ditto Java. Now when Borland came out with Borland Builder which gave me VB capability with native good c++ code, I was all over that.
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
________________________________ From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org > [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell Sent: Tuesday, April 29, 2008 11:05 AM To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS? What about Binary Data? Unicode? or iADSLargeInteger. The biggest thing you lose is ability to maintain the integrity of the object/text throughout the pipe. Using .NET you know if you have FileInfo object it will stay a FileInfo object until you decide to change it. The problem isn't passing the text, it is knowing what to do with it on the flip side. The benefit you have with the object model is Typing. I can TYPE the data so that there is no ambiguity in the interpretation of the "text."
I don't feel the need to debate the design of Powershell (that is water under the bridge,) but the validity of the usefulness of dealing with Objects. Ironically we both agree with the crapiness of the s.ds.d namespace and ADSI in general, but that is a VERY small scope for Powershell. When it comes to Dealing with Processes, Files, WMI, and the slew of other things that Powershell Addresses from an Admin point of view using the .NET namespace was a good idea.
What Dushyant was talking about was, in Powershell you can have Parameters that can be passed via the Pipe. These Parameters are determined by Type or by Name. If it is a STRING it goes here, if it is a DATETIME it goes there, if it is ... You get the idea. You can NOT achieve that passing just text. It is just not feasible. Basically, I get your point, The serialization is still done I just don't have to deal with it. This is the draw. I don't have to worry about it. Not to mention it is SUPER powerful.
In regards to "defined this standard passing mechanism" They did... its called .NET Almost all the stuff they needed already had pre-defined .NET classes that could be used.
I really respect your opinion. You have a lot of experience, but I think in this case you have been blinded by your hatred for .NET (albeit understandable hatred.) Could Powershell have been done different... absolutely. Could it have been done better... absolutely. Should they have used .NET or just a standard parsing methods... that is converstation for you and Jeffrey Snover.
btw... Powershell is not a shell. It is an Engine similar to vbscript parsing engine. They just have a shell that loads Powershell. On Tue, Apr 29, 2008 at 9:48 AM, joe <listmail@joeware.net<mailto:listmail@joeware.net>> wrote: Give me an example or three of things you can do that you don't think could be done otherwise that you believe to be a function of passing info between programs (or if you prefer, call them cmdlets) that you can't do with passing text. And as we were discussing at the summit, these should not be things based on two apps not speaking the same language because no one defined a protocol for the text streaming interchang, but things that couldn't be done period even if that was defined. As you know and despite the incorrect assumption/comment made by Dushyant in the PoS session, Adfind/Mod and ds* can actually communicate with each other in great part because I allowed it and that isn't all that hard as long as people agree on a format. But give me an example of something that can't be done with that object passing that you feel can't be accomplished if the agreements/protocols aren't established.
I think we would have been better served if MSFT had defined this standard passing mechanism versus doing what was done. Something that wasn't solely reliant on .NET. The .NET requirement is a silly requirement IMO. Anyway, this wouldn't even need a whole new shell to pull off and the foundation would have built up a lot faster and be far wider and accepted now than it is. Again, IMO.
joe
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
________________________________ From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org > [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activ edir.org>] On Behalf Of Brandon Shell Sent: Tuesday, April 29, 2008 9:34 AM
To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
While I still think it would be cool for you to write them... I have S.DS.P now... That solves my immediate need so I can do the rest 
It may not be as fast as ADFind, but the flexibility of objects will more than make up for that time lost with my ability to process the output.
To be clear... I think ADFind and ADMod awesome tools and I am very grateful for them. On Tue, Apr 29, 2008 at 9:08 AM, joe <listmail@joeware.net<mailto:listmail@joeware.net>> wrote: Absolutely, I just don't consider that exploring... If I did explore that area, it would be to work out how to write native code to interface with it.
If ya want it to so bad... you write it. 
joe
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
Those who can.... do. Those who can't... beg.
________________________________ From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org > [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activ edir.org>] On Behalf Of Brandon Shell Sent: Tuesday, April 29, 2008 9:02 AM
To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS? never stop exploring...  On Tue, Apr 29, 2008 at 8:50 AM, joe <listmail@joeware.net<mailto:listmail@joeware.net>> wrote: Very funnyΏ]....

joe
Ώ] But accurate
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
-----Original Message----- From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org > [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activ edir.org>] On Behalf Of Dean Wells Sent: Tuesday, April 29, 2008 8:17 AM To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
Hehe ... and not entirely dissimilar to what happens when people ask joe .NET/Powershell questions in-person; joe: can you write a wrapper ... joe? joe? ... where'd he go?
-- Dean Wells MSEtechnology t Email: dwells@msetechnology.com<mailto:dwells@msetechnology.com> http://msetechnology.com<http://msetechnology.com/>
-----Original Message----- From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org > [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activ edir.org>] On Behalf Of Richard Kline Sent: Monday, April 28, 2008 10:20 AM To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
First Nomination for Understatement of the Year award:
-----Original Message----- From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org > [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activ edir.org>] On Behalf Of joe Sent: Sunday, April 27, 2008 4:28 PM To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
...
A DNS server that is dynamically handed its address is NOT the most useful device you could have on a network... 
joe
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ma/default.aspx
| | | |
| bdesmond
Posts:346
 | | 04/29/2008 5:01 PM |
| > Not enough of us "real" admins do so either, but it is too much to expect from a "normal" SBS admin, IMO 
I can't understand why you wouldn't ... the platform SDK is where every WMI class and attribute is documented.
--brian
On Tue, Apr 29, 2008 at 1:22 PM, Akomolafe, Deji <deji@readymaids.com> wrote:
> I don't think typical SBS admins wade in the MSDN (cess)pool much, > Michael. Not enough of us "real" admins do so either, but it is too much to > expect from a "normal" SBS admin, IMO  > > > Sincerely, > _____ > (, / | /) /) /) > /---| (/_ ______ ___// _ // _ > ) / |_/(__(_) // (_(_)(/_(_(_/(__(/_ > (_/ /) > (/ > Microsoft MVP - Directory Services > www.akomolafe.name<http://www.akomolafe.name/> - we know IT > -5.75, -3.23 > Do you now realize that Today is the Tomorrow you were worried about > Yesterday? -anon > ________________________________ > From: ActiveDir-owner@mail.activedir.org [ > ActiveDir-owner@mail.activedir.org] On Behalf Of Michael B. Smith > [michael@TheEssentialExchange.com] > Sent: Tuesday, April 29, 2008 10:17 AM > To: ActiveDir@mail.activedir.org > Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS? > > >From one of my upcoming books: > > > WMI stands for Windows Management Instrumentation. WMI is the Microsoft > implementation of something known as CIM, which stands for Common > Information Model. CIM (and therefore WMI) is an industry-standard way of > representing information about computing objects. These objects include > processors, processes, tasks, networks, IP addresses, routers, switches, > etc. etc. There are literally hundreds of WMI objects implemented within > modern versions of Windows (WMI was first available in Windows 2000 Server). > > WMI provides a schema (that is, a description of the information that is > available) and a specification of the format of the data contained within > the schema. Within WMI, Microsoft has also defined a simple and standard > mechanism for accessing the information contained therein. > In my opinion, you get a great deal of value from spending time reading > the MSDN documents on (for example) Win32_Process. And if you get there, you > can see all the other Win32_* items. Drill down, and lo and behold, there is > a wealth of data. > > Within PowerShell, start with "gwmi win32_process | fl" and go from there… > > http://msdn2.microsoft.com/en-us/library/aa394372(VS.85).aspx > > Regards, > > Michael B. Smith > MCSE/Exchange MVP > http://TheEssentialExchange.com <http://theessentialexchange.com/> > > From: ActiveDir-owner@mail.activedir.org [mailto: > ActiveDir-owner@mail.activedir.org] On Behalf Of Susan Bradley, CPA aka > Ebitz - SBS Rocks [MVP] > Sent: Tuesday, April 29, 2008 1:01 PM > To: ActiveDir@mail.activedir.org > Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS? > > I think it's what you are used to and what makes sense to your platform. > > Up here in the GUI world PowerShell is being used all around me. SBS is > exposing it in the 2k8 era and using it for antispam cmdlets in Exchange > 2k7, move data scripting and it's being used in the backup tasks. IIS 7 > just came out with a PowerShell platform as well. > > You and your blinking c prompt server core world it's understandable :-) > > Forgive the very newb question... in my platform I am looking at > PowerShell but find that the PowerShell scripting tutorials assume a > foundational knowledge of WMI, Common Information Model Standards and what > not. What resource would you gurus say is the best one for better > understanding these foundations? > > > > joe wrote: > Note that I am not saying no one else should be using PoS or .NET... I am > saying for me, it hasn't made any sense to do so IMO. I actually recommend > some others to use it because it would be the quickest easiest way for them > to spin up. But when people ask me to get involved with it, I don't see the > benefit *to me* to do so and say so. This includes writing wrappers, etc for > it because people seem to think I do certain things better than others. > > > -- > O'Reilly Active Directory Third Edition - > http://www.joeware.net/win/ad3e.htm > > > > ________________________________ > From: ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org> [mailto: > ActiveDir-owner@mail.activedir.org] On Behalf Of joe > Sent: Tuesday, April 29, 2008 12:42 PM > To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> > Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS? > Binary, Unicode, and large int can't be marshalled into text? How do you > know that isn't happening in the backend somewhere currently? Say some XML > stream of some sort? There is and has been a whole object passing model that > has existed for years and years and years called CORBA but the actual > implementation of that is a bit FAT for what we are talking about because it > needed to account for many things we don't care about in the command line > management world. But a similar idea slimmed down to the specific case of > passing data between two command line processes would be nice and it could > be published as a protocol instead of locking into a specific app model. > > I think you are happy that the data marshalling is done and you don't have > to deal with it, the fact that it is powershell or .net or anything else > doesn't really play into it. Anything given to you with the same > functionality would have been fine. It is like when people rave about > PowerShell because it lets them manage Exchange at the command line, that > isn't an argument for PowerShell, it is an argument for having anything that > can actually do what you need that didn't exist or possibly didn't know how > to do before. > > I like the idea of PowerShell, I think the .NET requirement was extremely > shortsighted considering it isn't what I would consider a first class > citizen of the OS. But I still don't see anything that PoS does for me that > makes me go, my god, I could never accomplish that any other way. Once we > start seeing kernel components written in and being run by .NET pieces > meaning perf has actually been looked at in some serious way, .NET will > start looking more attractive to me. Write now the arguments are mostly of > the variety that people gave for VB years ago and that wasn't enough to get > me to use VB either. Ditto Java. Now when Borland came out with Borland > Builder which gave me VB capability with native good c++ code, I was all > over that. > > > -- > O'Reilly Active Directory Third Edition - > http://www.joeware.net/win/ad3e.htm > > > > ________________________________ > From: ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org> [mailto: > ActiveDir-owner@mail.activedir.org] On Behalf Of Brandon Shell > Sent: Tuesday, April 29, 2008 11:05 AM > To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> > Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS? > What about Binary Data? Unicode? or iADSLargeInteger. The biggest thing > you lose is ability to maintain the integrity of the object/text throughout > the pipe. Using .NET you know if you have FileInfo object it will stay a > FileInfo object until you decide to change it. The problem isn't passing the > text, it is knowing what to do with it on the flip side. The benefit you > have with the object model is Typing. I can TYPE the data so that there is > no ambiguity in the interpretation of the "text." > > I don't feel the need to debate the design of Powershell (that is water > under the bridge,) but the validity of the usefulness of dealing with > Objects. Ironically we both agree with the crapiness of the s.ds.d namespace > and ADSI in general, but that is a VERY small scope for Powershell. When it > comes to Dealing with Processes, Files, WMI, and the slew of other things > that Powershell Addresses from an Admin point of view using the .NET > namespace was a good idea. > > What Dushyant was talking about was, in Powershell you can have Parameters > that can be passed via the Pipe. These Parameters are determined by Type or > by Name. If it is a STRING it goes here, if it is a DATETIME it goes there, > if it is ... You get the idea. You can NOT achieve that passing just text. > It is just not feasible. Basically, I get your point, The serialization is > still done I just don't have to deal with it. This is the draw. I don't have > to worry about it. Not to mention it is SUPER powerful. > > In regards to "defined this standard passing mechanism" They did... its > called .NET Almost all the stuff they needed already had pre-defined .NET > classes that could be used. > > I really respect your opinion. You have a lot of experience, but I think > in this case you have been blinded by your hatred for .NET (albeit > understandable hatred.) Could Powershell have been done different... > absolutely. Could it have been done better... absolutely. Should they have > used .NET or just a standard parsing methods... that is converstation for > you and Jeffrey Snover. > > btw... Powershell is not a shell. It is an Engine similar to vbscript > parsing engine. They just have a shell that loads Powershell. > On Tue, Apr 29, 2008 at 9:48 AM, joe <listmail@joeware.net<mailto: > listmail@joeware.net>> wrote: > Give me an example or three of things you can do that you don't think > could be done otherwise that you believe to be a function of passing info > between programs (or if you prefer, call them cmdlets) that you can't do > with passing text. And as we were discussing at the summit, these should not > be things based on two apps not speaking the same language because no one > defined a protocol for the text streaming interchang, but things that > couldn't be done period even if that was defined. As you know and despite > the incorrect assumption/comment made by Dushyant in the PoS session, > Adfind/Mod and ds* can actually communicate with each other in great part > because I allowed it and that isn't all that hard as long as people agree on > a format. But give me an example of something that can't be done with that > object passing that you feel can't be accomplished if the > agreements/protocols aren't established. > > I think we would have been better served if MSFT had defined this standard > passing mechanism versus doing what was done. Something that wasn't solely > reliant on .NET. The .NET requirement is a silly requirement IMO. Anyway, > this wouldn't even need a whole new shell to pull off and the foundation > would have built up a lot faster and be far wider and accepted now than it > is. Again, IMO. > > joe > > > -- > O'Reilly Active Directory Third Edition - > http://www.joeware.net/win/ad3e.htm > > > > ________________________________ > From: ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org> [mailto: > ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org>] On Behalf Of Brandon Shell > Sent: Tuesday, April 29, 2008 9:34 AM > > To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> > Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS? > > While I still think it would be cool for you to write them... I have > S.DS.P now... That solves my immediate need so I can do the rest  > > It may not be as fast as ADFind, but the flexibility of objects will more > than make up for that time lost with my ability to process the output. > > To be clear... I think ADFind and ADMod awesome tools and I am very > grateful for them. > On Tue, Apr 29, 2008 at 9:08 AM, joe <listmail@joeware.net<mailto: > listmail@joeware.net>> wrote: > Absolutely, I just don't consider that exploring... If I did explore that > area, it would be to work out how to write native code to interface with it. > > If ya want it to so bad... you write it.  > > joe > > > -- > O'Reilly Active Directory Third Edition - > http://www.joeware.net/win/ad3e.htm > > Those who can.... do. > Those who can't... beg. > > > ________________________________ > From: ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org> [mailto: > ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org>] On Behalf Of Brandon Shell > Sent: Tuesday, April 29, 2008 9:02 AM > > To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> > Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS? > never stop exploring...  > On Tue, Apr 29, 2008 at 8:50 AM, joe <listmail@joeware.net<mailto: > listmail@joeware.net>> wrote: > Very funnyΏ].... > >  > > joe > > > Ώ] But accurate > > > -- > O'Reilly Active Directory Third Edition - > http://www.joeware.net/win/ad3e.htm > > -----Original Message----- > From: ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org> > [mailto:ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org>] On Behalf Of Dean Wells > Sent: Tuesday, April 29, 2008 8:17 AM > To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> > Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS? > > Hehe ... and not entirely dissimilar to what happens when people ask joe > .NET/Powershell questions in-person; joe: can you write a wrapper ... joe? > joe? ... where'd he go? > > -- > Dean Wells > MSEtechnology > t Email: dwells@msetechnology.com<mailto:dwells@msetechnology.com> > http://msetechnology.com<http://msetechnology.com/> > > -----Original Message----- > From: ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org> > [mailto:ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org>] On Behalf Of Richard Kline > Sent: Monday, April 28, 2008 10:20 AM > To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> > Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS? > > First Nomination for Understatement of the Year award: > > -----Original Message----- > From: ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org> > [mailto:ActiveDir-owner@mail.activedir.org<mailto: > ActiveDir-owner@mail.activedir.org>] On Behalf Of joe > Sent: Sunday, April 27, 2008 4:28 PM > To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> > Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS? > > ... > > A DNS server that is dynamically handed its address is NOT the most useful > device you could have on a network...  > > > joe > > > List info : http://www.activedir.org/List.aspx > List FAQ : http://www.activedir.org/ListFAQ.aspx > List archive: http://www.activedir.org/ma/default.aspx > > List info : http://www.activedir.org/List.aspx > List FAQ : http://www.activedir.org/ListFAQ.aspx > List archive: http://www.activedir.org/ma/default.aspx > > List info : http://www.activedir.org/List.aspx > List FAQ : http://www.activedir.org/ListFAQ.aspx > List archive: http://www.activedir.org/ma/default.aspx > > > > List info : http://www.activedir.org/List.aspx List FAQ : > http://www.activedir.org/ListFAQ.aspx List archive: > http://www.activedir.org/ma/default.aspx > List info : http://www.activedir.org/List.aspx > List FAQ : http://www.activedir.org/ListFAQ.aspx > List archive: http://www.activedir.org/ma/default.aspx >
-- Thanks, Brian Desmond brian@briandesmond.com
c - 312.731.3132
| | | |
| deji
Posts:132
 | | 04/29/2008 5:11 PM |
| I didn't say "I" don't. But you turn to your normal AD admin (and your single-box SBS admin, not the providers or consultant types) and ask them what's platform SDK. Yeah, that's what I thought :-) Sincerely, _____ (, / | /) /) /) /---| (/_ ______ ___// _ // _ ) / |_/(__(_) // (_(_)(/_(_(_/(__(/_ (_/ /) (/ Microsoft MVP - Directory Services www.akomolafe.name<http://www.akomolafe.name/> - we know IT -5.75, -3.23 Do you now realize that Today is the Tomorrow you were worried about Yesterday? -anon ________________________________ From: ActiveDir-owner@mail.activedir.org [ActiveDir-owner@mail.activedir.org] On Behalf Of Brian Desmond [brian@briandesmond.com] Sent: Tuesday, April 29, 2008 1:56 PM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
> Not enough of us "real" admins do so either, but it is too much to expect from a "normal" SBS admin, IMO 
I can't understand why you wouldn't ... the platform SDK is where every WMI class and attribute is documented.
--brian
On Tue, Apr 29, 2008 at 1:22 PM, Akomolafe, Deji <deji@readymaids.com<mailto:deji@readymaids.com>> wrote: I don't think typical SBS admins wade in the MSDN (cess)pool much, Michael. Not enough of us "real" admins do so either, but it is too much to expect from a "normal" SBS admin, IMO 
Sincerely, _____ (, / | /) /) /) /---| (/_ ______ ___// _ // _ ) / |_/(__(_) // (_(_)(/_(_(_/(__(/_ (_/ /) (/ Microsoft MVP - Directory Services www.akomolafe.name<http://www.akomolafe.name/><http://www.akomolafe.name/> - we know IT -5.75, -3.23 Do you now realize that Today is the Tomorrow you were worried about Yesterday? -anon ________________________________ From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org> [ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org>] On Behalf Of Michael B. Smith [michael@TheEssentialExchange.com] Sent: Tuesday, April 29, 2008 10:17 AM To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS?
>From one of my upcoming books:
WMI stands for Windows Management Instrumentation. WMI is the Microsoft implementation of something known as CIM, which stands for Common Information Model. CIM (and therefore WMI) is an industry-standard way of representing information about computing objects. These objects include processors, processes, tasks, networks, IP addresses, routers, switches, etc. etc. There are literally hundreds of WMI objects implemented within modern versions of Windows (WMI was first available in Windows 2000 Server).
WMI provides a schema (that is, a description of the information that is available) and a specification of the format of the data contained within the schema. Within WMI, Microsoft has also defined a simple and standard mechanism for accessing the information contained therein. In my opinion, you get a great deal of value from spending time reading the MSDN documents on (for example) Win32_Process. And if you get there, you can see all the other Win32_* items. Drill down, and lo and behold, there is a wealth of data.
Within PowerShell, start with "gwmi win32_process | fl" and go from there…
http://msdn2.microsoft.com/en-us/library/aa394372(VS.85).aspx
Regards,
Michael B. Smith MCSE/Exchange MVP http://TheEssentialExchange.com<http://theessentialexchange.com/>
From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org> [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org>] On Behalf Of Susan Bradley, CPA aka Ebitz - SBS Rocks [MVP] Sent: Tuesday, April 29, 2008 1:01 PM To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org> Subject: Re: [ActiveDir] [OT] BIND as Secondary DNS?
I think it's what you are used to and what makes sense to your platform.
Up here in the GUI world PowerShell is being used all around me. SBS is exposing it in the 2k8 era and using it for antispam cmdlets in Exchange 2k7, move data scripting and it's being used in the backup tasks. IIS 7 just came out with a PowerShell platform as well.
You and your blinking c prompt server core world it's understandable :-)
Forgive the very newb question... in my platform I am looking at PowerShell but find that the PowerShell scripting tutorials assume a foundational knowledge of WMI, Common Information Model Standards and what not. What resource would you gurus say is the best one for better understanding these foundations?
joe wrote: Note that I am not saying no one else should be using PoS or .NET... I am saying for me, it hasn't made any sense to do so IMO. I actually recommend some others to use it because it would be the quickest easiest way for them to spin up. But when people ask me to get involved with it, I don't see the benefit *to me* to do so and say so. This includes writing wrappers, etc for it because people seem to think I do certain things better than others.
-- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm
________________________________ From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org><mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org>> [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org>] On Behalf Of joe Sent: Tuesday, April 29, 2008 12:42 PM To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org><mailto:ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org>> Subject: RE: [ActiveDir] [OT] BIND as Secondary DNS? Binary, Unicode, and large int can't be marshalled into text? How do you know that isn't happening in the backend somewhere currently? Say some XML stream of some sort? There is and has been a whole object passing model that has existed for years and years and years called CORBA but the actual implementation of that is a bit FAT for what we are talking about because it needed to account for many things we don't care about in the command line management world. But a similar idea slimmed down to the specific case of passing data between two command line processes would be nice and it could be published as a protocol instead of locking into a specific app model.
I think you are happy that the data marshalling is done and you don't have to deal with it, the fact that it is powershell or .net or anything else doesn't really play into it. Anything given to you with the same functionality would have been fine. It is like when people rave about PowerShell because it lets them manage Exchange at the command line, that isn't an argument for PowerShell, it is an argument for having anything that can actually do what you need that didn't exist or possibly didn't know how to do before.
I like the idea of PowerShell, I think the .NET requirement was extremely shortsighted considering it isn't what I would consider a first class citizen of the OS. But I still don't see anything that PoS does for me that makes me go, my god, I could never accomplish that any other way. Once we start seeing kernel components written in and being run by .NET pieces meaning perf has actually been looked at in some serious way, .NET will start looking more attractive to me. Write now the arguments are mostly of the variety that people gave for VB years ago and that wasn't enough to get me to use VB either. Ditto Java. Now when Borland came out with Borland Builder which gave me VB capability with native good c++ code, I was all over that.
-- O'Reilly Active Directo |
|
|