Category: PowerShell

Microsoft SharePoint Foundation 2010 Installation – Part 3

This blog is a continuation from last weeks blog (Part 2). We’ll jump right in where we left off. Verify you are logged into the server that you want to install SharePoint on as the spNameInstall account. Right click the PowerShell ISE and select "Run as administrator": Load the SharePoint PowerShell Snap-in: You will receive "The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered." This is normal since we have not configured Read more [...]

Microsoft SharePoint Foundation 2010 Installation – Part 1

You're ready to introduce SharePoint 2010 into your SMB and you've chosen to install the "free with Windows Server" version called "Foundation". Details about this version can be found on the SharePoint Foundation 2010 Production Information webpage. You'll need a minimum of two servers, virtual or physical with the specifications listed below to get started. While it is possible to run SharePoint 2010 on a single server, it's definitely not recommended for a production environment. Depending on Read more [...]

Create an Active Directory User Account with PowerShell

I’m in the process of installing SQL Denali and need a couple of users accounts created. If you are creating the Active Directory user on a machine other than a domain controller, you’ll need to install the Active Directory module for Windows PowerShell. Then import the Active Directory module. To see the syntax and available options for creating an Active Directory user using PowerShell, type "Get-Help New-ADUser" inside the PowerShell console. Store Read more [...]

Install the PowerShell ISE & Enable PowerShell Scripts

PowerShell 2.0 is installed by default on Windows 7 and Windows Server 2008 R2. The PowerShell ISE (Integrated Scripting Environment) is installed by default on Windows 7, but not Windows Server 2008 R2. You can use the following information to install the ISE on your 2008 R2 server (as long as it’s running the full GUI and not the Core installation). Launch PowerShell and execute the following: If you attempted to run this on the Core (no GUI) installation Read more [...]

PowerShell Script to Return a List of Mailbox Size for All Users

On several occasions, I've been asked to provide a report of mailbox sizes and number of items in a mailbox to a few of my customers who are running either Exchange Server 2007 or 2010. Like most of my blogs, this blog is as much documentation for myself as anything else. That way when I need to provide another one of these reports again in a few months, I'm not trying to figure out how I previously accomplished the task. The following PowerShell Script creates a text file that contains a list Read more [...]

Creating a Shared Mailbox in Exchange 2007

Open Exchange Management Shell and execute the New-Mailbox cmdlet using the following example as a template: The following cmdlet assigns full access for the mailbox to a group in Active Directory named “My Shared Mailbox Admins” which needs to exist in AD prior to executing this command: This cmdlet allows members of the “My Shared Mailbox Admins” group in Active Directory to be able to send email from the "mysharedmailbox@mikefrobbins.demo" Read more [...]