PowerShell: Backup your running Hyper-V Virtual Machines

If your like every one else including me its been a complete drag attempting to get clients to allow you to shut down Virtual Machines that are in production to allow you to back them up.  Windows Server 2012 R2 (a free upgrade of Windows Server 2012) can be upgraded remotely using RDP without too much risk. I competed 4 Hyper-V Hosts Friday night without issue. The upgraded is pretty fast but we had to migrate the running VMs prior to the upgrade, and it too about an hour to bring the  the new 2012 R2 Hyper-V hosts current with all Security and Hot Fixes (132 patches) .




We have the backups  using task scheduler, since we have multiple Hyper-V hosts, we created the schedule once then exported to xml, and imported the task on all additional Hyper-V Hosts.



Also, since the VMs rarely change we keep two backups locally and the rest are moved to the SAN in this case a NetApp for two weeks and copied to tape. Note: You only need to modify the drive and root folder, if the folder does not exist it will be created.

PowerShell Script

<# Set-VMBackup.ps1 #>

#Get date string
$timestamp = Get-Date -UFormat "%Y%m%d"

#Change the Drive / Folder where the exports should be stored
$BackupPath = “D:\VMBackup\$timestamp#Export running VMs to Export path
GET-VM | where {$_.state -eq ‘running’} | Export-VM -Path $BackupPath

Download http://1drv.ms/1PPFoUg



PowerShell: Upgrade WAC – your Office Web Apps Farm

Like most folks who upgrade their SharePoint 2013 farms after they have applied the latest SharePoint 2013 CUs to the SharePoint side of the environment they will usually still have 2 WAC servers and at least 3 WFM servers left to apply and configure updates. This may depend on release of the updates as the Service Bus and Workflow manager updates do not coincide with the monthly delivery of SharePoint 2013 CUs.




The reason for this post is to make it easy for me (not to forget) updating the WAC Servers / Office Web App Farm. Updating the Office Web App farm is somewhat unique in that you remove the farm prior to the installing the CU then create a new farm after the cumulative update installed





PowerShell Script

# Update-WAC.ps1
# Add July 2015 CU

Import-Module -Name OfficeWebApps 

# Review the Current State of the Office Web App Environment
cmd /c pause 

# Remove OfficeWebAppMachine prior to installing Cumulative Update
cmd /c pause

# Install the Cummulative Update while paused

# Configure Office WebApp Farm after installing the updates
# If using HTTP remove comment below
# New-OfficeWebAppsFarm -InternalURL "http://wac.contoso.com" -AllowHTTP -EditingEnabled

New-OfficeWebAppsFarm -InternalURL "https://wac.contoso.com" -ExternalURL "https://wac.contoso.com" -CertificateName "wac.contoso.com" -EditingEnabled
cmd /c pause

# Open IE to test and ensure the New OfficeWebApps Farm is configured
$ie = New-Object -ComObject InternetExplorer.Application
$ie.Visible = $true
If successful your browser will open and will look the example below



Download http://1drv.ms/1JCmcKm



Metalogix Content Matrix 7.3.x – Bugs


SharePoint 2013 and Metalogix Content Matrix

SharePoint is mission-critical and users demand availability. Content Matrix allows you to migrate SharePoint by site collection, site, list, library, business unit, or department with zero downtime. Run old and new farms in parallel and test and re-arrange as often needed. Along with the Re-Organizer feature empowers your site collection owners and users, to manage SharePoint sites, content and metadata on an ongoing basis to keep in sync with business needs. All of my clients love this tool as it makes their environments more flexible and now with Re-Organizer we are enabling the site owners to more easily manage their site structure.





Error on Installation of Content Matrix 7.3.0002

During the installation of the Online edition of Content Matrix version 7.3.0002 while installing Metalogix Extensions Web Services you will see the error "MD5 check failed for the current file to be staged, the file may be corrupt" in the screenshot to the left. However, the installation will continue and complete. Also, if you go to the location in your AppData Folder and copy the "Metalogix SharePoint Extensions Web Service Setup.msi" it will run locally without any issues. The error appears to be related to the msi not matching the online manifest





Error Copying List Views Content Matrix 7.3.xxxx

Unfortunately, the installation error is not the only issue. The infamous "Object Reference not set to an instance of an object" error occurs when you attempt to copy list views. However, if you copy the complete list all views are included in the copy. In looking at the error details it appears to be caused by a dialog box, this makes sense as it never creates the job or writes to any log.








Error Copying Sites Lists or Library’s  Content Matrix Organizer 7.3.xxxx

The last symptom was when attempting to copy / move anything  using the Reorganize from the Widget Drop Down or the Ribbon of the list…


We initially found and reported these errors on 12/18/2015..

At first we thought incorrectly the error only occurred after an upgrade from an earlier version of Content Matrix, after further testing we found the issues existed in all 7.3.x versions whether installed as part of an upgrade or installed in a pristine environment. As always Metalogix Content Matrix is our favorite tool for SharePoint Migrations whether on-prem or online and Metalogix support is very helpful.  The only resolution at this time is to revert to a previous version Metalogix Content Matrix version 7.2.0017







Bastille Day – July 14th, 2015 Migration is worth it!!

Windows Server 2003 & 2003 R2 Support is ending July 14, 2015

Bastille Day, Symbol of the French Revolution

What does end of support mean for you? After July 14, Microsoft will no longer issue security updates for any version of Windows Server 2003:

  • If you are still running Windows Server 2003 , you need to take steps NOW to plan and execute a migration strategy to protect your infrastructure.
  • By migrating to Windows Server 2012 R2, Microsoft Azure or Office 365, you can achieve concrete benefits, including improved performance, reduced maintenance requirements, and increased agility and speed of response to the business.
  • Extended support for Windows Server 2003 will end on July 14, 2015, and customers are once again looking at the final months of a generous Windows product support cycle. Recommendations for customers using Windows Server 2003 include the following:
  • Customers that go beyond the termination of extended support place themselves at risks and potentially in a regulatory noncompliance situation. Even if regulatory compliance is not a concern, the security improvements that Windows Server 2012 R2 provides are worth adopting if just to help defend against industrial espionage.

 Key issues if you are still supporting Windows Server 2003 after July 14th 2015:

  • Lack of patches/updates/non-security fixes. No-cost, non-security-related update support terminated on July 13, 2010. However, support for non-security-related updates was available on a for-fee basis to customers that felt it was important to continue to have access to fixes that could help their system run optimally and perform well.
  • Elimination of security fixes. Customers see security fixes as being among the most critical fixes for their installed servers. These fixes will no longer be delivered to customers for their Windows Server 2003 servers, regardless of how severe a given issue may be. This may be less of a problem with many aging Windows Server 2003 applications, mainly because the applications still in use are increasingly likely to be inward facing rather than outward facing.
  • Lack of support. Customers no longer have the ability to contact Microsoft for technical support in the event of a server problem. This becomes particularly important when a system experiences an outage and customers are unable to restore the system and recover data and applications from the stalled machine.
  • Application support challenges. Application ISVs dislike having a complex support matrix and typically support current versions along with a finite number of earlier editions of the product. For most ISVs, an 11 -year-old application is probably already past its rational support life cycle, and in most cases, these application ISVs are about to discontinue or have already discontinued support for aging operating system environments such as Windows Server 2003.

Regulatory Compliance :

  • Customers in regulated industries or handling regulated data, including healthcare and payment card industry (PCI) data, may find that they are out of compliance, which could mean fines or being cut off from key trading partners that seek to protect their own regulatory compliance status.
  • Inability to leverage modern cloud options from Microsoft and other vendors. Windows Server 2003 can run on virtually every hypervisor in the market, but that does not mean it is an equal player in these modern deployment scenarios. For example, Windows Server 2003 installations cannot be re-hosted in a Microsoft Azure environment, unless it is a 64-bit image, but the vast majority of Windows Server 2003 installations are 32-bit solutions. So even if customers bring the 32-bit image to the Azure cloud, they cannot continue using that operating system instance. When spinning up new infrastructure-as-a-service (IaaS) instances in Azure, Microsoft provides catalog images only for 64-bit instances of Windows Server 2012 R2.

Bottom Line:

Security vulnerabilities could arise for which no protection is possible. Attackers who exploit these openings could gain control of systems based on Windows Server 2003. Then use the compromised system to launch attacks from within the data center against other, newer systems to capture and relay data from the network to the attacker outside and introduce false transactions or tamper with legitimate business activities. If such an attack were to take place, it may be impossible or impractical to stop it from succeeding and from being repeated, since the code vulnerability inside the OS will not be patched. Business functions dependent upon the system running under Windows Server 2003 may be unexpectedly subject to complete loss of access to the functionality of the system if it has to be shut down due to compromise. Alternatively, lack of viable alternatives for the business function may dictate that the system remain in operation despite compromises, thus endangering other systems that are not based on Windows Server 2003.

Wow 13 Years who would have thought…

If you have NOT decommissioned your Windows Server 2003 Servers then you should purchase an Extended Sup[port agreement for these servers and actively be in the process of moving to new Hardware and Software… You can use the Windows Server 2003 Migration Planning Assistant which will walk you through a migration assessment and help you choose a Microsoft partner if you need help in the migration and decommissioning of your old hardware.



First Ever Live Office Bug Bash To Be Held On July 15, 2015 Report Bugs And Win Cool Prizes From the Microsoft Office Team


Mark your calendar for July 15 from 10am – 1pm PDT.

You can win Power chargers, USB slap bands, pre-paid run-me tags, universal USB adaptors, t-shirts, hats, stylus pens, Office O365 Pro Plus subscriptions with 25 seats, and lots more by reporting bugs.


Join the public O365 Network

Go to https://www.yammer.com/itpronetwork#/Threads/index?type=algo  and join the O365 Network

After Tuesday, July 14 search for the “Office 16 Bug Bash – July 15” Group. (NOTE: this group will not be public until after this date and requests will not be approved)


Beginning on July 15 @ 10am PDT, post your issue using one of the appropriate hashtags (aka Topics) below:

  • Outlook, Excel, Word, PowerPoint, OneNote, Access, Visio, Project, Publisher, Setup, Localization, Install, General, Activation

Custom Testing Activities

Real Time Co-Authoring in Word – Load Testing – 10:00 – 1:00 pm PDT

This feature enables customers who are collaborating on a document to see text changes others are making as well as the location of their cursor within the document. Changes are displayed automatically as people use and update the document. This capability will be available when working in documents stored on OneDrive for Business and Office 365 SharePoint sites.

Localization Testing for European & Middle Eastern Languages. 10:00 – 1:00 pm PDT  and 4:00 – 6:00 pm PDT

Do you use localized versions of Office 16? Do you feel the language quality of the latest builds is good or do you feel it needs some improvement? Well now is your chance to let us know. You will be able to report localization issues in Office 16 for your language so that we can address them before it ships.

All we need during this time is for you to give us the following information:

  1. Office Product
  2. Office Version
  3. Steps to reproduce the issue
  4. Screenshot(s) of the problem
  5. Current offending translation
  6. Suggested improved translation


  1. This is focused on bugs only. If you have already reported an issue and it’s been closed as “Won’t Fix” or “By Design” do not report it again at this event.
  2. Each post/issue must be tagged (aka Topics) with at least one Topic (See Getting Started)
  3. Create a new thread for each issue
  4. DO NOT respond to a thread unless you are adding relevant information to that specific issue
  5. DO NOT initiate any private IMs with MS staff. We will get to your post as soon as possible.
  6. General forum rules and etiquette apply. Please play nice in the sandbox or we’ll have to send a note home to your mother.


Q: Who can join this Bug Bash?

A: Anyone with a valid Office 365 subscription that is running the Office 16 Preview bits. Click here to install the preview.

Q: Is this event under NDA or other disclosure restrictions?

A: No.

Q: Can I submit Android, Universal, Mac, or phone issues during this event?

A: No, this event is focused strictly on the desktop bits.

Q: How do I win some of the cool prizes?

A: Find and report a great bug during the bash. Prizes will be awarded based on severity and impact of the issues as determined by Microsoft staff. Prizes will only be awarded during the hours of the event.

Q: What are some of the cool prizes I can win?

A: Power chargers, USB slap bands, pre-paid run-me tags, universal USB adaptors, t-shirts, hats, stylus pens, Office O365 Pro Plus subscriptions with 25 seats, and lots more great stuff!


See ya onsite!!



SharePoint 2013 Unable to Open Documents from Ribbon when WOPI is Configured and Library Default open behavior for browser-enabled documents is Open in the client application

It appears to be an IE issue when clicking on the New Document Drop down from the ribbon using fiddler4 there are not any results returned, probably jscript or jquery … I am running IE11 and I have tested IE10 which exhibits the same behavior. I haven’t tested on earlier versions yet.

However, if you open with Mozilla the Microsoft Office is blocked until you Allow Mozilla to open Office Documents and then Default open behavior for browser-enabled documents works as expected. In other words when the library is set to open ion the browser (via WOPI) the documents open in the browser, when set to open in the client application, the docs open in the client as expected..

1. Click On Allow



2. Then choose to Allow remember


3. Then choose OK,



4. Click on New Document one more time to open from the ribbon



Note: this only occurs if you have WAC installed and configured WOPI with SharePoint. Also, you only have to go to library settings to set the Default open behavior for browser-enabled documents: to Open in the client application, you don’t have to set the site collection… I will resolve as time permits




Embed a PowerPoint Presentation into a SharePoint 2013 Page with Multiple Farms

It seems like everyone NothingButSharePoint and Microsoft Office and Microsoft Bogs states that you can not embed unless your using Office 365 (this may have been due to using SharePoint 2010). There are many more post and articles that require you to use Onedrive.. There are probably many better ways to sharing Content using WAC with multiple farms and SharePoint On-Prem and I would enjoy hearing about how you have solved this issue

Embed a PowerPoint Presentation from a source SharePoint Farm and render the presentation in a target SharePoint Farm using CEWP


1. Go to http://focalpoint.cotoso.com and search for PPTX

2. Use the Drop Down, Choose embedded information, and Copy All

3. Go to http://learning.fabricam.com

5. Add Content Editor WebPart


6. Click Inside the WebPart Choose the Orange Insert, Click Embed Code


7. Insert (Paste CTRL+V) the Code you copied from http://focalpoint.contoso.com


8. Then Click the Insert button,

9. Next Edit the WebPart, and change the Width to 540px, then click OK


10. Click Check-in, then Publish this Draft


Note: The Site Collection Feature – Cross-Farm Site Permissions is activated on both Farms, the cross-farm site permissions feature to allow internal SharePoint applications to access websites across farms.



SoCal Code Camp June 27th & 28th @ UCSD


REGISTRATION Please click here to register

imageMy first session Office 365 San Diego

Module 02 SETTING UP THE ENVIRONMENTS starts at 10:15 AM – Sunday, June 28, 2015

office 365 | Oauth | Azure

Location: UNEX 107

In this lab, you will create a cloud development environment and build a cloud-hosted app. The development environment will consist of a trial subscription to Office 365 and Azure. You will create apps that use both OAuth security and the cross-domain library. You will examine the security flow to better understand the available options

  • Configure Office 365 with a Developer Site and Product Catalog
  • Setup Azure with Active Directory
  • Understand the OAuth flow in a Provider-Hosted app
  • Understand how to use the Cross-Domain Library in a Provider-Hosted app

If you would like to create the apps as we complete the walkthrough and to get the most out of your session, please don’t forget to bring your laptop












Here are some personal items you will need to bring to the SoCal Code Camp.

  • Notebook computer
  • Computer power supply
  • Notebook and pen
  • Identification


My second session Office 365 San Diego Module:

04 – HOOK INTO OFFICE 365 APIS starts at 12:30 PM – Sunday, June 28, 2015

SharePoint Online | Outlook | One Drive | office 365 | MVC5 | Azure

Location: UNEX 107

In this lab, you will build an app “Research Tracker” that allows you to define new research projects in a SharePoint list, assign an owner, and create a project statement. The development environment will consist of a trial subscription to Office 365 and Azure. Specifically SharePoint Online, OneDrive, Outlook and an Azure Web


  • Learn to use Office 365 APIs in a web application
  • Understand how to register web applications in Azure Active Directory
  • Understand how to grant permissions to an application


  • You must have an Office 365 tenant and Microsoft Azure subscription to complete this lab (we will walk you through the creation of these).
  • You must have completed the lab associated with Module 02 SETTING UP THE ENVIRONMENTS


The hands-on lab includes the following exercises:

  • Prepare Data Sources
  • Create an MVC5 Web Application
  • Configure a Single Sign-On MVC5 Web Application

You can get started today by cloning  https://github.com/iasanders/DevCampTraining in Visual Studio 2013


Please stop by and check out our sponsors who help in making SoCal Code Camp available for free (also listed above)







Address: 9600 N. Torrey Pines Rd., La Jolla, CA 92037
Latitude Longitude: 32.88198836404279,-117.24334180355072


There are some hotels close including (in no particular order) I would look at the
Hyatt Regency La Jolla at Aventine
Sheraton La Jolla
San Diego Marriott La Jolla


In the Patio where check-in is there is Cafe Ole that has a wide variety of drinks and food. The student center may be open but most other food options are just down N Torrey Pines Road to La Jolla Village Drive then take a right on Villa la Jolla Dr and you will see many options for the next .5 mile

(A lot of people windup at Chipotle at 8657 Villa La Jolla as you can order online and have it waiting for you)


See ya there….


Office DEVCamp – Los Angeles June 16th, 2015 9am–5pm


Please join us for Office DevCamp on June 16th 2015,I look forward to seeing you there and bringing you new skills to add to your toolset..

Over 1 billion Office users in 147 countries are looking to increase their productivity. Want to break into this enormous market? Don’t miss the Office DevCamp, where we’ll learn how to build add-ins within Office applications as well as leverage the Office 365 & SharePoint APIs in our own web and native apps.  We’re going to explore the new Office 365 Add-in & API model and build out an end-to-end example in our own Office 365 environments. Not bad for a day’s work!  

Gear up and get building!

This is a jam-packed, one-day training course, bring your laptop with Visual Studio and you’ll get deep into the code. Here are the topics we’ll cover:

  • Setting up your environment
  • Building Add-ins for Office
  • Building with the Office 365 APIs
  • Building native Android Apps with the SharePoint APIs
  • Building Add-ins for SharePoint

DevCamp must-haves
Note – this is a hands-on workshop. To get the most out of your session, please don’t forget to bring your laptop with Visual Studio 2013 installed.

This free event is brought to you by your local Microsoft office. Delegates are responsible, however, for booking and funding their own travel and accommodation, as required.

13031 W Jefferson Blvd
Suite 200 Los Angeles California 90094
United States

Click here to RSVP http://aka.ms/O365campLA



Ivan Sanders
SharePoint MVP / MCT

Blog: http://blogs.msmvps.com/ivansanders/

clip_image002 clip_image004 clip_image006 clip_image008 clip_image010

Microsoft Offers Free Care for your PCs

Our PC tune-ups don't cost a thing. Find your store







Text 'MSSTORE' to 29502 for news and offers




Ivan Sanders
Blog: http://blogs.msmvps.com/ivansanders/

clip_image001[4] clip_image002[4] clip_image003[4] clip_image004[4] clip_image005[4] clip_image006[4]


Technorati Tags: Microsoft,Free Offers
« Previous PageNext Page »