I created this blog back when we were starting to do PowerShell projects at Quest, most prominent of which – AD cmdlets and PowerGUI – got tens of thousands administrators become huge fans and still use them every day.
I am no longer with Quest (in fact, I already had a couple other gigs: as a co-founder and COO of Jelastic PaaS and then as a VP of Cloud at WSO2), and these days work for the leader in API Security space – 42 Crunch, as their VP of Cloud, and also hosting the API Security community & news site at http://APISecurity.io.
My linked in profile can be found at: http://www.linkedin.com/in/dsotnikov
My MVP profile – at: https://mvp.microsoft.com/en-us/PublicProfile/4012798?fullName=Dmitry%20Sotnikov
My twitter nick is @dsotnikov.
And there’s obviously good old email way .
Hi Dmitry,
How can I contact with u? Unfortunately I didn’t find your e-mail… Could you please write to me (skim[]cornerstone.ru).
Thanks in advance,
Sergei K
Sergei,
I sent you a message, but if you don’t get it try emailing me at DSotnikov/Gmail/Com or Dmitry/Sotnikov/Quest/Com.
Dmitry
Installed Mgmt Shell for AD and PowerUI. Get error “specified domain either does not exist or could not be contacted”. Can’t browse anything in Active Directory folder within PowerGUI.
How do I resolve this?
Jim Gray
grayjd@resurgens.com
Jim,
Is your computer joined to an AD domain? It looks like it is not – so the cmdlets by default are trying to get to the “current” domain and fail.
If this does not help, please post the issue to the discussion forums at PowerGUI.org and someone will help you troubleshoot the issue.
Dmitry
Hi I founf out, you install .net into server core (when try run powershell). I need ASP.NET here is there any similar hack ?
Thank you
Petr, you can follow these same steps just to install .NET 2.0 (or in fact 3.0 and 3.5) and see if ASP.NET works on top. I have not tried this. Might work – or might not – or might just partially work if some ASP.NET-specific classes have specific GUI requirements and rely on Win API not present on Server Core.
Hi Sergei,
One of the most pervasive scripting issue which I faced when using VBScript is that there is no way to programmatically set network adapters’ (multi nic) binding order AND also to enable/disable protocol and services (like client ms network, network monitor driver, etc) for each network adapter.
These are still done manually by hand.
I thought powershell should have something like this, but so far no one seems to have scripted anything like this in powershell.
I wonder with your expertise if you know how this can be done via powershell
Thanks for listening.
Kelvin Wong
Kevin,
Actually my name is Dmitry – not Sergei.
While I don’t know the answer to your question, if there is some .NET or WMI way of doing this – PowerShell can do the job. So I would recommend that you look through various MSDN documentation, and ask in the forums: e.g. at http://powergui.org – if you cannot find anything.
Dmitry
Hi Dimiry,
Need your assitance on the below below
I am tring to query group and check if its Distribution group and in the second line i am check if the distribution has contacts. If my distribution has 1000 contacts it wil filter and assign to $cont. Actually i wanted to exit if i find one contact in the distribution group and perform some operation if atleast one contact exists in the Distribution group. I am struck here. Not able to just exit if i get one contact. I have to wait until the filter finished.
Get-QadGroup -SizeLimit 0 | ?{$_.GroupType -eq “Distribution”} | foreach {
$cont= Get-QADGroupMember -SizeLimit 0 $_.DN -indirect | ?{$_.Type -eq “contact”}
If($cont)
{}
Thank you
Regards,
Krishna