HOWTO: Export all images from a Word document

Note: This only applies to .docx file types

Description: This process will show you how to export all images from a Word document into a folder. Each image is separate, and in .png format.

Tools Required

  • Modify access to a .docx document
  • Extraction tool (Windows has one built in)
  1. In Windows Explorer Folder Options ensure the “Hide extensions for known file types” is unchecked.
    1
  2. Again in Windows Explorer, ensure your file is a .docx file.
    2
  3. Right click and rename the file to a .zip extension
    3a
    3b
  4. Now right click the .zip file and select “Extract All…”. Select any folder you wish and then “Extract”.
    4
  5. Open the folder if it did not open automatically and you will see some folders and .xml files.
    5
  6. Navigate to /word/media to see your images.
    6
Advertisements

A lesson in learning

On a top level, an office server move seems so easy. Move servers, plug them in, go home. But there are many small details that need to be addressed before the move can occur and be considered successful. Do you need new cables, or racks? Where will the new equipment go? What about power, is it enough or is it the proper connector? A lot of these questions did not occur to me as a first timer. I didn’t realize I was put in charge of this project until well into it, a project that I learned was far larger than I expected.

“You should have asked” is the response I saw the most when someone realized I did something incorrectly. The trick, however, is to know what questions needed to be asked. As it turns out, there is no such thing as too many questions when you’re trying to learn, and the most important question I needed to ask was “May I please have some help?”

To someone who is passive as well as prideful, this is a difficult situation to be placed in. The issues that come up are whether you know the proper questions to ask or if you ask the wrong questions if others will think you incapable. And if you do ask the proper questions, how far do you push to be given the correct answer as not everyone will give you straight responses. This is an incredibly important lesson for someone just starting in their line of work. How much is too much?

This is the point that I would like to hand you a checklist and say if you follow this, you’ll be good. Unfortunately this is not one of those situations. Rather this is a lesson on knowing when to take a step back and say “I can’t do this”. Growing up I had been told it’s better to ask for help than to fail outright, and yet I found myself hoping I had the skillset to take this on on my own, and ended up running into it head first. I imagine there are situations where one should simply let themselves fail. This is something that you see in articles all the time “It’s good fail! Don’t worry!”. Although I agree with that statement, it is not a 100% true every time case. It’s missing one thing – you can avoid failure.

Something I wish I had been told in this project early on is this. Stop. Breath. Take a step back and rethink this. You have a team, you have resources. Use them. Ignore anyone who tells you that planning and documenting can be managed later if at all. Ask for advice from everyone, even if you choose to not use it. If you hear certain advice regularly, you should probably use it. Document anything new you learn to be used at a later date.

 

And remember, this is your first major project. Handle it like your first major project.

HOWTO Add your photo to Outlook/Exchange/Active Directory using Exchange Management Console(PowerShell)

Note: This HOWTO uses Exchange Management Shell 2010.

Description: This will allow you to add your photo to Outlook using Exchange Management Shell(PowerShell). The picture will also show in Lync (if applicable).

Tools required:

  • Admin access to Exchange Management Shell.
  • A picture to use that is <10kb in size.
  • The path to the photo (ex. “C:\Users\<username>\Desktop\Me3.jpg”).
  1. Open the EMS(Exchange Management Shell) with admin rights

HOWTO_ Add your photo to Outlook_Exchange_Active Directory1

  1. The command itself is very simple:

Import-RecipientDataProperty –Identity “<Name from AD>” –Picture –FileData ([Byte[]]$(Get-Content –Path “<PathToYourPicture>” –Encoding Byte –ReadCount 0))

The command will return nothing:

HOWTO_ Add your photo to Outlook_Exchange_Active Directory2

  1. Verify that the picture is in outlook.

You can do this by looking at your contact card in Outlook. Double click your name. Maybe ask a friend to check as well!

HOWTO_ Add your photo to Outlook_Exchange_Active Directory3

Ta Da!

HOWTO Create a New Subscription for Event Forwarding

Note: This HOWTO is only supported on Windows 2008R2 or higher, and Windows7 or higher

Description: Event Forwarding will forward certain events from multiple machines in your domain to a single machine in order to review them more efficiently. This HOWTO is how to configure the collector server to collect certain events.

Tools Required: 1 Collector server, and 2+ Source servers(can also use a client machine) and must have completed HOWTO Prepare Your Machines For Event Forwarding

For this example the collecting server will be Purple, and the source servers will be Blue(2012 R2),  Red(2008 R2)

  1. On the collector server open Event Viewer as Administrator
  2. Go to Subscriptions and select Create New Subscription. You are able to make multiple subscriptions for different types or categories of events.

HOW TO_ Create a New Subscription for Event Forwarding1

  1. Give it a detailed name and description. You can also specify a Destination log, but for this example we will leave as the default Forwarded Events. The Destination Log is where the events will go on the collector server, like a folder in Event Viewer

HOW TO_ Create a New Subscription for Event Forwarding2

  1. Add Domain Computers one at a time by selecting Select Computers… beside Collector initiated.

HOW TO_ Create a New Subscription for Event Forwarding3

HOW TO_ Create a New Subscription for Event Forwarding4

  1. Select Events… which will trigger the event to be forwarded. It is best to have less than 10 event log types selected. For this example we will be using Windows Logs as our type.

HOW TO_ Create a New Subscription for Event Forwarding5

HOW TO_ Create a New Subscription for Event Forwarding6

  1. Select the keywords that will trigger the forwarding to occur

HOW TO_ Create a New Subscription for Event Forwarding7

  1. On the collector server, select Forwarded Events.

HOW TO_ Create a New Subscription for Event Forwarding8

You’re done!

 

HOWTO Prepare your machines for Event Forwarding

Description: Event Forwarding will forward certain events from multiple machines in your domain to a single machine in order to review them more efficiently. This HOWTO is how to prepare the servers for the task

Note: This HOWTO is only supported on Windows 2008R2 or higher, and Windows7 or higher

Tools Required: 1 Collector server, and 2+ Sources server(can also use a client machine)

For this example the collecting server will be Purple, and the source servers will be Blue(Windows 2012 R2),  and Red(Windows 2008 R2)

  1. Turn on and log into all of the machines that will be used.
  2. Run the following command on all of the source computers (in our case Blue, and Red) with an elevated command prompt:

Winrm quickconfig

  1. Select y for both options

HOW TO_ Set up Event Forwarding1

HOW TO_ Set up Event Forwarding2

*The Remote Management service might already be activated (Windows 2012 R2)

HOW TO_ Set up Event Forwarding3

  1. Next, on the Collector server (Purple in our case) run the following command at an elevated command prompt:

wecutil qc

Select y for the only option

HOW TO_ Set up Event Forwarding4

  1. Add the collector server to the local administrators group on each of the source (Blue and Red) computers. This can be done locally, or with a GPO.

Locally, this is done running lsrmgr.msc and going to groups. Go into the Administrators properties.

You will be required to select Computers as an object type, as it is not a default option.

HOW TO_ Set up Event Forwarding5

HOW TO_ Set up Event Forwarding6

  1. And now you’re ready to specify which events need to be forwarded by Creating a New Subscription…