Archive for category SBS

Powershell: The term ‘Get-ADUser’ is not recognized as the name of a cmdlet (SBS 2008)

We have immense power over our servers with Powershell.

There is so much we can do, or in the case of SBS 2008 (Powershell 2), a lot we wish we could do. I am trying to get a lot of info our of an AD in preparation of moving to a new domain controller. None of my AD scripts work. e.g.

  • Get-ADComputer
  • Get-ADUser

I am constantly getting “The term ‘blah’ is not recognized as the name of a cmdlet”.

Grrr.

After lot’s of reading and playing about, I got what I needed. I was able to install Active Directory Web Service on the machine and then use RSAT on a secondary computer.

So what do you do ?

Let’s start with Server 2008 R2 

You need to have installed

  • Active Directory Domain Services
  • Active Directory Module For Windows PowerShell
  • Active Directory Web Services

Run this at the Powershell commandline

>Import-Module ServerManager
>Add-WindowsFeature RSAT-AD-PowerShell
>import-module activedirectory

You should now be ready to go

Server 2008 or 2003

You need to install this hotfix. The links for this are hard to get working as Microsoft released this patch to only those that actually need it. It has not had very wide testing and has not been checked for what else it could break.
https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=2852

Install the Active Directory Management Gateway Service (Active Directory Web Service for Windows Server 2003 and Windows Server 2008)

Install RSAT on another PC (Windows 7, Windows 10 will be fine)

In powershell

>import-module activedirectory

You should now be ready to go

SBS 2008

Trying to install Active Directory Web Service for Windows Server hotfix as per the above outline, fails. You can try the 32 bit or 64 bit version and it will tell you it is not compatible.

You need to have the file NDP35SP1-KB969166-x86.exe, install it and reboot.

(KB 969166)

It will not install. What can you do? If you really need to get this hotfix installed (Warning, it is not fully tested) then here is a work around.

md c:\temp\AD_Management_Web
expand -F:* “Windows6.0-KB968934-x64.msu” c:\temp\AD_Management_Web
cd c:\windows\system32
start pkgmgr.exe /ip /m:c:\temp\AD_Management_Web\Windows6.0-KB968934-x64.cab

Reboot

Install RSAT on another PC (Windows 7, Windows 10 will be fine)

In powershell

>import-module activedirectory

You should now be ready to go

Useful links

http://thehotfixshare.net/board/index.php?autocom=downloads&showfile=20160

https://powershell.org/forums/topic/ad-module-on-sbs-2008/

Tags: , ,

SMB150 2013 Nominees announced !

Last year someone nominated me for a SMB150 award. This was worldwide recognition as one of the top 150 IT people in SMB in the world.
Yes, I got one of the awards and it was super special as one of my MVP friends, Eriq Neale, was the face of the award and passed away from cancer after the winners were announced.

 I have again been nominated.  Please Vote. You can vote daily!  One vote per IP, per day. You don’t have to sign up for an account on the website. Just click the Vote button on my page.

I do like people to sign up as then they can leave comments 🙂

Exchange and Heartburn

Saturday night (just past) was a nice evening. Nothing to complain about, all going well. Waking early Sunday morning I noticed my iPhone was not connected to the Exchange store at my office (ActiveSync).

I remoted into my workstation at work and noticed that Outlook was empty and trying to attach to the information store. I logged onto the server and found the Exchange Information Store, System Attendant and Pop3 connectors had stopped. I also noticed the pop up telling me that Microsoft had updated the server and had to complete a restart. This was likely after automatic critical updates Sunday 3 am (Wsus).

I started the services and went into Outlook. As we monitor all our clients servers on port 25 and by other means, the deluge of emails and alerts I had be unaware of, was starting.

Almost all of our SBS 2008 servers running Exchange 2007 had stopped receiving email. One in particular had also dropped RWW and VPN access.

With most of them, restarting the stopped services fixed things. With a few others I had to kick over the Exchange Topology service.

We also had 2 SBS 2011 (Exchange 2010) with the Pop3 connectors stopped.

After a massive session of Remote desktop, VPN and RWW, we managed to get all the servers email working again.

Now we need to look at the updates and identify what caused this. If the servers had gone through a second restart, they would have been fine.

EDIT: Reports coming in now include EBS server as one of the servers affected by this.

Tags: , ,

More on SBS and Essentials from the man that knows

Kevin Beares is a man to listen too. I have met Kevin in Redmond. I have had many debates and long discussions with him. If I worked for Microsoft, he is someone I would hope to call boss, mentor, partner and friend.

Kevin is one of the team at Microsoft I had in mind when I wrote the following post http://blogs.msmvps.com/mickyj/blog/2012/06/30/a-new-found-love-for-microsoft-small-business-server/

For a while now we have heard the voice that is proclaiming SBS is dead. We have listened to the press releases and what Microsoft wants us to hear. That is all the marketing propaganda and behind it are some very real reasons why SBS will be leaving us.

Are you curious? what reasons could there possibly be and where are we headed ? Check out these clarifications from Harry Brelsford’s post at SMBnation, speaking with Kevin Beares.

http://smbnation.com/index.php/news/news/entry/sbs-product-clarifications

We are addressing the concerns and answering the top questions,” Beares shared. “Windows Server 2012 Essentials is based on years of feedback from our MVPs, our partners, and our user groups. While it is true we removed the integrated installation of Microsoft Exchange Server, it doesn’t mean we removed the integration for an on-premises email solution. With Essentials 2012, we actually made it possible to have three different mail options: on-premises Exchange Server, Hosted Exchange, or Office 365. It is the next version of SBS 2011 Essentials, and it includes many new capabilities and enhancements over the previous release.

Tags: ,

SMB 2012 Survey results released

It was a well created survey by Karl and it had some very interesting results.

If you work with the SMB space and Microsoft products, very much worth the read.

http://blog.smallbizthoughts.com/2012/07/smb-community-survey-results-part-1.html

Tags: , ,

What species is Microsoft Small Business Essentials 2012?

(Now called Windows Server 2012 Essentials)

Firstly to set the baseline. I love SBS server. I live and breathe SBS server. I want all my clients to use something like SBS server. Up until now I have not had a need to look at Microsoft Small Business Essentials server. I knew it grew out of a basic server with Home Server like features but not much more. What is Microsoft Small Business Essentials server? What specieis is it?

Now I face a world without SBS server. I need to look at alternatives and there is no product better than Server 2012 Essentials to start my journey.

I want to be able to provide a world with Wsus, desktop faxing, Exchange, Sharepoint, Remote access and more.  I want to see if I can do all this with Server 2012 Essentials, even if it is over two servers. I know Exchange can’t be on the Domain controller and neither can Sharepoint foundation server.  I hope Wsus will work but I am not sure at this point.

I normally use Trend Micro Worryfree and Symantec System Recovery. I rely heavily on the SBS monitoring reports and a large collection of my own VBS scripts. I am uncertain if any of this will work.

I plan to make my blog a diary for my exploration of Essentials. So, if you are interested, take a look at Day1 with Essentials.

Others are also on a journey. One watch is Wayne Small.

And many more blog links on the SBSfaq site

Here starts my voyage of discovery. I will figure out the genus, species or flavour of Microsoft 2012 Essential server.

Take a look at Day1 of my Essentials diary. Also look up “What does Essentials 2012 do ?”

Tags: , , , ,