Migrating One Note Content from OneDrive (SkyDrive)

Today’s little share is not “PowerShell related” but it’s something I personally encountered and I thought it would be good to share.  I’ve been using OneDrive for a LONG time and when I started using One Note, it defaulted to my OneDrive account.  

This was really cool because the content kept synching, was always accessible remotely or locally.

As I started working for my current employer, I used it to keep track of rough notes on work for various clients.    One challenge however.

It was still on my Personal OneDrive.   I wanted to move my Corporate work to either a Central Sharepoint location or at LEAST to my One Drive for Business.

Here’s the problem I hit against.

If you go to OneDrive and click on the “One Note Notebook” in question there is NO download option.  (Most other documents you usually get that)

image

The answer is actually pretty simple.  I ran across in the Answers forum on Technet

Create a New Folder in OneDrive (I called my New OneNotes)

 

   image

Move the One Note document to the Folder

image

 

Download the Newly created Folder

image

At this point once you click on download your browser will want to store away this as a ZIP file.   Store this away to a convenient location for later use.

Now you can have a copy.  Extract the contents of this zip file to a folder and copy the folder to your target location.  It can be

  • Local folder
  • File Share
  • One Drive for Business folder
  • Sharepoint Documents folder

Once you have copied the data to the Target location, you’ll need to open it at least Once for One Note to add to the list of Note Books.   In One Note 2016 just click on “File” and then “Open”

image

from this point there is a browser for navigating your various file locations.  Navigate to the new one, select your folder in question, then open the “Open Notebook” file just underneath the name of the folder.

image

Sometimes One Note may prompt you with a message like “A notebook cannot be found at this location.  Do you want to open …..” just click yes.   It’s nothing bad.

At this point you are now looking at your copy of the One Note document.  But you need to switch it from “Archive” to live.    You can tell from the above warning.

SNAGHTMLd8c0a5

Click on the pretty yellow line to continue forward and allow the conversion to occur.  It will prompt you to Convert a Single Selection or the Entire Notebook.  In my case I’d like to convert the Entire Notebook

image

The process will step through all of your individual sections and convert them up to your modern version of One Note.   At this point you have now made a copy of your PERSONAL One Drive to your Business folder.    From here you can go through and delete sections and content that are yours and leave your business data behind for work.

Also note, this is a COPY.  If you MESSED up? (Oh … oh that just NEVER happens with computers …. Right?  Right? Nudge nudge) . 

Just remember you have a ZIP file you downloaded before.

Share and Enjoy!

Sean
The Energized Tech

Using the Office Deployment Tool (ODT) with the RETAIL (not Office 365 version) of Office 2016

Here’s one I ran into today.  It might be documented somewhere but I just couldn’t find it

 

When targeting software for the Office Deployment Tool almost every version shows this as the Product name

O365ProPlusRetail

 

This is for Office 2013 or Office 2016 from Office 365

 

If you are trying to deploy Office 2013 or 2016 (Click to Run edition) from the MSDN or Volume media change it to

ProPlusRetail

 

The rest of the file should remain the same.  The same goes for your download.xml file.  Update the PID to reflect “ProPlusRetail” or I believe just pull off the O365 reference.  This will download the proper bits for the media and language.   It should also allow you to accept the proper product key.

 

Share and enjoy

Sean

The Energized Tech

Download all free ebooks from Microsoft using Powershell

cThis script is not very efficient (downloads everything twice, working on that still BUT)

 

If you’d like to conveniently download all the ebooks Eric Ligman has been kind enough to share out… You can run this in PowerShell 3.0 or higher (It was tested in Windows 10 – Powershell 5 but should work in earlier versions)

 

# Create Web client object

$Wc=New-object system.net.webclient

$link=’https://blogs.msdn.microsoft.com/mssmallbiz/2016/07/10/free-thats-right-im-giving-away-millions-of-free-microsoft-ebooks-again-including-windows-10-office-365-office-2016-power-bi-azure-windows-8-1-office-2013-sharepoint-2016-sha/’

# Download the source page

$result=Invoke-WebRequest -Uri $link

# Get a list of the URLS of the books and resources with Eric’s short name in there

$URIList=$result.links | where { $_.OuterHTML -match ‘ligman.me’ }

Foreach ($URI in $URIList)
{
# Get the Download link

$DownloadLink=$URI.href

# Find the original filename (Thanks to Dr. Tobias Weltner’s tip on this!)

$Response=[system.net.webrequest]::Create($DownloadLink).getresponse()
# Scoop out the file name

$filename=($Response.ResponseURI.AbsolutePath.split(‘/’)[-1])
# Download the goodies

$wc.downloadfile($downloadlink,$filename)
#
$Response.close()
}

 

This will take a while and it’s NOT going to show a progress bar (you can play with that) but you don’t need to sit and watch.   Warning… this may hit your bandwidth so try to do it on your personal account…. not the company internet