Skip to main content

Posts Tagged ‘powershell’

Why I love PowerShell…and so should you

 This blog post is meant for both the PowerShell newbie and scripter out there looking for a reason why they should start learning aptly named PowerShell or push themselves to learn a new aspect of PowerShell they’ve been meaning to try. It’s been a few years now since PowerShell first came to be. Remember those […]

Lync 2010 / 2013 disabled from AD Deny Groups

Here is the scenario – you have AD security groups specifically to DENY services to users that are added to this AD group. For example – a naughty user could be placed on probation in your organization,  and then added to this group –  in turn this membership would be automatically disabled in Lync.

Windows Server 2012 and the “POWER” of PowerShell 3.0

At one time many Server versions ago, I thought why anyone would want to know PowerShell! What a waste of time! Well I was wrong, PowerShell is not going away anytime soon. Just to show how strongly Microsoft is feeling about the use of PowerShell, Server 2008/R2 was shipped with a whopping  230 cmdlets, now […]

SharePoint 2013 Issues Log

Infinite authentication prompts issue when launching SharePoint 2013 on local machine After setting up on premise SharePoint 2013 environment, isolated application domain must be configured to install and run SharePoint 2013 App. Ofcourse the application domain has to be added into the bypass list and trusted sites list to avoid authentication prompts. Despite of right […]

SharePoint 2010: Cloned SharePoint Server Zombie

It’s become very popular to run SharePoint 2010 in a virtualized environment, especially for development purposes.  As a result, many systems administrators are taking snapshots and cloning existing SharePoint servers.  That’s great from an IT administrative perspective.  It allows you to quickly recover if something goes wrong or you need to add processing power. The […]

Web Part Inventory in Minutes (SharePoint 2007/SharePoint 2010)

There may be a number of reasons why you or your organization may want to understand the impact a particular web part may have on the SharePoint farm. The information will allow you to understand the scope of sites that may be affected from a web part perspective.This information may be helpful in the following […]

PowerShell for SharePoint Admins: The REAL Primer – Series #4

This is the fourth entry of my PowerShell for SharePoint Admins series.  I am basing this series on what SharePoint Administrators have said are the most important tasks to accomplish in PowerShell.  Here is the list: Create/Delete Sites, Webs and Web Applications Backup and Restore Sites, Webs and Web Applications Deploy Solutions and Features Add/Delete […]

PowerShell: Count Property Returns Nothing

I was working on a a PowerShell script the other day and needed to do something I’ve done many times before with no trouble: count the items in a directory. In the past, I’ve gone about this in one of two ways: (Get-Item $Directory).GetFiles().Count (Get-ChildItem $Directory).Count For this particular solution, I needed the number of […]

Prevent IIS from Terminating Your Debugging Session

One of the most irritating things that can happen while you’re debugging is this message: When you sit at any one breakpoint for too long (longer than the ping maximum response time), this error will appear and terminate your session. If you’re anything like me and my fellow team members, you’ll blindly click “OK” and […]

Map a Crawled Property to Managed Properties (FS4SP – PowerShell)

  What we are doing: 1.) Create a Managed Property from a Crawled Property Managed Properties are great! FAST pulls and indexes Managed Properties for multitudes of things, including boosting and search scopes. They are core to your FAST User Experience and an essential part to configuration When a FAST crawl runs, it will pick […]

Creating User Contexts, Customizing User Context Properties, and Site Promotions from PowerShell (FAST for SharePoint)

PowerShell is a powerful tool when combined with FAST. When dealing with a large site collection with multitudes of taxonomies and sites underneath it, promoting sites and keeping user contexts from environment to environment can be a long and taxing job, especially when you are working with the SharePoint/FAST UI. Luckily, this is where PowerShell […]

Activate Office365 users via Powershell

With general availability of Office365 in the horizon, new features are being activated every day. One such long-awaited feature is activating users via Powershell instead of from the portal site. To do so follow these steps: Download the MSOL services module from here: http://onlinehelp.microsoft.com/en-us/Office365-enterprises/ff652560.aspx Connect to office 365 with following commandlets $cred = get-credential (enter […]

Load More