Category: Scripting

1

How to Permanently Add Exchange 2013 PowerShell Cmdlets to PowerShell ISE

You can permanently register the Exchange PowerShell commands into PowerShell ISE so you don’t always have to manually add the command Add-PSsnapin *Exchange* -ErrorAction SilentlyContinue every time you start PowerShell ISE. Here’s the step-by-step procedure....

How Many Free Microsoft eBooks Would You Like?  How About Over 275? 0

How Many Free Microsoft eBooks Would You Like? How About Over 275?

If you like eBooks, especially free ones, then you must be delighted to know that Microsoft Senior Sales Excellence Manager Eric Ligman has posted a link to more than 275 free eBooks from Microsoft...

Managing Passwords for Service Accounts in SharePoint & SQL Server 2

Managing Passwords for Service Accounts in SharePoint & SQL Server

Managing service accounts on Windows servers have been a challenge for most organizations for quite some time. In recent years, Microsoft has made several enhancements to minimize the pain. In Windows Servers 2008 R2...

Getting Rid of Windows 8.1 Store Apps That Don’t Get Uninstalled Cleanly 0

Getting Rid of Windows 8.1 Store Apps That Don’t Get Uninstalled Cleanly

Once in a while you may run into Windows 8.1 Store Apps that are difficult to uninstall. You try to uninstall it by using the right-click option but it doesn’t quite cleanly uninstall the...

PowerShell Script to Enable or Disable Network Adapter at Startup or Logon in Windows 8 and Windows Server 2012 1

PowerShell Script to Enable or Disable Network Adapter at Startup or Logon in Windows 8 and Windows Server 2012

I run Hyper-V on my Windows 8 Enterprise desktop. One of the issues that I have encountered has to do with the virtual Ethernet adapter. My virtual machines can connect to the Internet fine...

How to Disable Java in All Your Browsers 0

How to Disable Java in All Your Browsers

By now you may have heard of all the warnings and bad things that can happen if you have Java installed on your computer, like having your credit card or other personal data stolen,...

How to Find the Largest Files on Your Windows Computer 0

How to Find the Largest Files on Your Windows Computer

When working with Windows computers, especially Windows servers, I often run into situations where the hard drive is running out of disk space. In fact, I have often seen drives literally have no available...

PowerShell Script to Find Site Template ID 0

PowerShell Script to Find Site Template ID

I often create a new site collection based on Microsoft Office SharePoint Server (MOSS) 2007 Collaboration Portal template for my clients’ intranet site. Just so you know, the Collaboration Portal template is hidden in...

PowerShell ISE Keyboard Shortcuts 0

PowerShell ISE Keyboard Shortcuts

I prefer to use PowerShell ISE over the standard Windows PowerShell console. Here are some keyboard shortcuts that you may find helpful. Just make sure that you use the 64-bit version of PowerShell ISE...

SharePoint 2010 Lockdown Mode (ViewFormPagesLockdown) 1

SharePoint 2010 Lockdown Mode (ViewFormPagesLockdown)

Microsoft Office SharePoint Server (MOSS) 2007 has a feature called ViewFormPagesLockdown, or some people simply refer to it as the SharePoint lockdown feature. Fortunately, the feature also works with SharePoint Server 2010. The lockdown feature is useful...

Search Server is Not Necessary to Crawl PDF files in SharePoint Foundation 2010 3

Search Server is Not Necessary to Crawl PDF files in SharePoint Foundation 2010

A lot of blogs and articles on the Internet indicate that in order to crawl PDF documents in SharePoint Foundation 2010 you must install Microsoft Search Server. I want to clear this myth by...

How to Start a Stopped Windows Service Automatically Using a Script 0

How to Start a Stopped Windows Service Automatically Using a Script

If you have worked with SharePoint Server 2010, you may have noticed that once in a while, especially after a reboot, the Forefront Identity Manager (FIMService) doesn’t start. Sometimes both the FIMService and the...

Active Directory Cmdlets in Windows PowerShell 0

Active Directory Cmdlets in Windows PowerShell

Here’s a list of all the Active Directory cmdlets in Windows PowerShell that are available in Windows Server 2008 R2 with a link to Microsoft TechNet for each cmdlet for more details. Add-ADComputerServiceAccount Adds one or...

Windows PowerShell for SharePoint Server 2010 Reference 0

Windows PowerShell for SharePoint Server 2010 Reference

The following articles list cmdlets for Microsoft SharePoint Server 2010 by functionality: Access Services cmdlets (SharePoint Server 2010) Backup and recovery cmdlets (SharePoint Server 2010) Business Connectivity Services cmdlets (SharePoint Server 2010) Database cmdlets...

Event ID 5153: The Windows Process Activation Service (WAS) encountered an error attempting to look up the built in IIS_IUSRS group. 2

Event ID 5153: The Windows Process Activation Service (WAS) encountered an error attempting to look up the built in IIS_IUSRS group.

Today I was installing Exchange Server 2010 Enterprise on a Windows Server 2008 R2 Domain Controller. Although Microsoft recommends that you install Exchange 2010 on a member server if possible, the environment I was...

Using Scripts to Automate MOSS 2007 Installations 0

Using Scripts to Automate MOSS 2007 Installations

Automated scripts can come handy when you want to install a product on multiple servers. Microsoft has published a 30-page white paper that provides information and guidelines for building scripts that can automate the...

NetDom Examples 1

NetDom Examples

NetDom is a command-line tool that is built into Windows Server 2008. It is available if you have the Active Directory Domain Services (AD DS) server role installed. To use NetDom, you must run the NetDom command...

How to Enable Remote Desktop on Windows Server 2008 Server Core 1

How to Enable Remote Desktop on Windows Server 2008 Server Core

Windows Server 2008 (WS08) Server Core can be used in lots of useful scenarios. However, because WS08 does not have a GUI, you need to use the command prompt to accomplish the administrative tasks....

How to Use STSADM to Import/Export a SharePoint Subsite 4

How to Use STSADM to Import/Export a SharePoint Subsite

The STSADM tool allows you to import and export SharePoint sites by specifying STSADM -0 Import and STSADM -o Export. The Import/Export options are ideal for backing up and restoring subwebs. To backup and restore entire site collections...

Unable to Execute PowerShell Scripts on Windows Server 2008 1

Unable to Execute PowerShell Scripts on Windows Server 2008

Have you run into a situation where you try to execute a  wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window...