One qualification on my Part - I dont work for MS
I think everyone agrees that tools should be consistent, but it doesnt seem
like your asking for that. It seems like your asking MS to install all the
CMDLets for all thier products in base Powershell. Because that is not feasable,
what would you like? What products should and shouldnt be included? Then
the problem is why cant powershell be shipped with Third Party snapins from
Citrix/VMware/IBM and a slew of other vendors.
IMO... it much better to let each provider deal with thier own snap-ins.
Let the Powershell team focus on making Powershell better.
All that said, MS did include Powershell in the CEC for 2009, which implies
that most of not all products will support Powershell in some form.
Brandon Shell
---------------
Blog:
http://www.bsonposh.com/
PSH Scripts Project:
www.codeplex.com/psobject
s> On Dec 6, 8:54 am, Brandon Shell [MVP] <a_bshell.m...@xxxxxx>
s> wrote:
s>
>> You can use this
>>
>> function Get-ADUsers{
>> Param($Dom)
>> if($Dom){$Dom = [ADSI]"LDAP://$dom"}else{$Dom = [ADSI]""}
>> $filter = "(&(objectcategory=user))"
>> $searcher = New-Object
>> System.DirectoryServices.DirectorySearcher($Dom,$filter)
>> $searcher.pagesize = 1000
>> $searcher.findall()
>> }
>>
>> Q: Any idea if there is going to be anything like this in PSH2?
>> A: I may be off base here, but my general feeling on this is the
>> Powershell
>> Team is not going to provide this functionality and to be honest I
>> agree
>> with that decision. IMO the Powershell team is directly responsible
>> for the
>> Powershell framework and base CMDLets. Extenstions should be provided
>> by
>> "Internal Third Party Teams" ie Exchange,Active Directory,SMS, MOM,
>> and Office.
>> Treating internal products like external third party products is
>> great. It
>> allows the Powershell team to focus on the actual functionality of
>> Powershell
>> itself.
>> Brandon Shell
>> ---------------
>> Blog:http://www.bsonposh.com/
>> PSH Scripts Project: www.codeplex.com/psobject
>> m> It would be for domain users. Quest CMDlets I will go and
>> m> investigate, but it would be nicer if it was something that was
>> m> included in powershell. (I don't know about you but I feel like I
>> am
>> m> forever installing bolt-ons for psh). Any idea if there is going
>> to
>> m> be anything like this in PSH2?
>> m>
>> m> What's the .Net option?
>> m>
>> m> Much appreciated
>> m>
>> m> "Brandon Shell [MVP]" wrote:
>> m>
>>>> Do you want local or domain accounts?
>>>>
>>>> for local you will need to use WMI or .NET
>>>> for Domain you can use the free Quest CMDLets or .NET
>>>> Brandon Shell
>>>> ---------------
>>>> Blog:http://www.bsonposh.com/
>>>> PSH Scripts Project: www.codeplex.com/psobject
>>>> m> It was really a powershell equivalent that passes out the result
>>>> as
>>>> m> an object. At the moment I have to parse the output with regex
>>>> and I
>>>> m> just think there must be an easier way.
>>>> m>
>>>> m> "Marco Shaw [MVP]" wrote:
>>>> m>
>>>>>> malckelly wrote:
>>>>>>
>>>>>>> Is there an equivalent in powershell for doing
>>>>>>>
>>>>>>> "net user user1 /domain"
>>>>>>>
>>>>>>> or really just a "net user" command.
>>>>>>>
>>>>>> What were you looking to do? You can just use "net user user1
>>>>>> /domain" from within PowerShell.
>>>>>>
>>>>>> The Quest AD cmdlets also provide a lot of information, and
>>>>>> there's
>>>>>> a
>>>>>> free version:
>>>>>> http://www.quest.com/powershell/
>>>>>> Marco
>>>>>> --
>>>>>> Microsoft MVP - Windows PowerShell
>>>>>> http://www.microsoft.com/mvp
>>>>>> PowerGadgets MVP
>>>>>> http://www.powergadgets.com/mvp
>>>>>> Blog:
>>>>>> http://marcoshaw.blogspot.com s> I appreciate that PowerShell is developed separately from other
s> technologies inside Microsoft. You are absolutely right that it
s> makes for a more focused and reliable product.
s>
s> What you are forgetting is that I, like most other PowerShell users,
s> don't care.
s>
s> All we want is for you (read Microsoft) to provide a consistent
s> toolset to manage the keystone MS enterprise product (i.e. Active
s> Directory). It does not matter to me one whit if the AD management
s> tools come from the Exchange team, or the AD team or even from the
s> janitorial dept. We are already faced with a fragmentation in the AD
s> management by the Exchange toolset touching on AD but then only doing
s> what Exchange needs and no more. Now we are faced with the prospect
s> of having get-user for Exchange and then get-QADUser for the Quest
s> tools and maybe if we are lucky get-ADUser from the Active Directory
s> team. What if the MOM, SMS and Office teams also touch on AD as
s> well? Things fall between the cracks when tools are that scattered
s> and it's the user who ends up paying the price.
s>
s> Is this sentiment at all unreasonable for someone who exists outside
s> the MS organization?
s>
s> I apologize if I seem short in my rant but this is a very obvious
s> problem that needs to be addressed if you want to see PowerShell
s> taken seriously in the Enterprise. We don't care who inside
s> Microsoft provides the functionality we need, all that we care about
s> is that it gets done. Having access to dotNET functionality is nice
s> but it is being used as a crutch for not delivering a complete
s> experience. My understanding is that PS is going to be integrated
s> into the Windows Server 2008 and I would love to have the tools to
s> properly manage AD when it launches.
s>
s> PowerShell is an amazing product, I enjoy using it. I think it is
s> the first breath of fresh air in an otherwise stagnant field in
s> computer technology. I hope to see it continue to mature into a
s> usable, and supported platform.
s>