Victor Vogelpoel

Excellence is in the details

logo-powershell


1 Comment

Putting PowerShell to good use: discovering the OpenText eDOCS WCF API

Intro to the series “Putting PowerShell to good use”

Another post in the series “Putting PowerShell to good use”. In my company, I am evangelizing PowerShell use for various purposes and it is starting to gain traction. PowerShell is not just for the system administrator, but a great tool for any developer as well. It lends itself well for all sort of tasks:

  • Discovering APIs;
  • Leveraging APIs;
  • Creating APIs;
  • Deployment;
  • Testing.

In these series “Putting PowerShell to good use”, I want to share here how I have been using PowerShell. In this second post: discovering APIs with PowerShell and learning about the Windows Communication Foundation (WCF) services API for eDOCS DM, a.k.a. the eDOCS DM WCF API.

The posts of the series so far:

  1. Discovering the eDOCS DM COM API
  2. Discovering the eDOCS DM WCF API (this post)

TL;DR

This new job at The ONE introduced me to OpenText eDOCS Document Management. This time I will be looking at the WCF API of eDOCS DM using PowerShell. Continue reading

logo-powershell


1 Comment

Putting PowerShell to good use: discovering the OpenText eDOCS COM API

Intro to the series “Putting PowerShell to good use”

Five years ago, PowerShell fell into my lap and never left my lab again. PowerShell is not just for the system administrator, but a great tool for any developer as well. It lends itself well for all sort of tasks:

  • Discovering APIs;
  • Leveraging APIs;
  • Creating APIs;
  • Deployment;
  • Testing.

In these series “Putting PowerShell to good use”, I want to share here how I have been using PowerShell. In this first post: discovering APIs with PowerShell and in this post discovering the OpenText eDOCS COM API.

TL;DR

This new job at The ONE introduced me to Open Text eDOCS Document Management (previously Hummingbird) and Ultimus Business Process Management. Learning these products and leveraging their APIs for creating integration solutions is a bit of a challenge. PowerShell has been a great help in discovering the eDOCS API and its workings.

Continue reading

PowerShell


Leave a comment

PowerShell on Windows 10 IoT on Raspberry PI

Microsoft has released a preview of the Windows 10 IoT (Internet of Things) for embedded devices, one of them being the Raspberry PI 2B. I am curious to what extent PowerShell can be used on such a limited device; using remoting, PowerShell is supposed to be the preferred way to configure and control the little machine.

Now, I don’t have Windows 10 Desktop preview in order to flash a SD card with the Windows 10 IoT image. However, following the instructions on page https://www.raspberrypi.org/forums/viewtopic.php?f=105&t=109105 (and the video!), I was able to flash the SD card using a Windows 8.1 laptop and complete the installation on my PI
Continue reading

PowerShell


Leave a comment

PowerShell: Download SharePoint Connect 2014 Amsterdam slides from SlideShare.net (using SlideShare API)

Last November I had the pleasure of attending the SharePoint Connect 2014 Amsterdam conference at De Meervaart Theatre. Organizer NC Communication was nice enough to share the slides on SlideShare.net at http://www.slideshare.net/nccomms/ with the prefix title “SPCA2014”.

There are about 25 slide decks and the amount of clicking to download them is daunting! Time for a PowerShell script!
Continue reading

logo-powershell


Leave a comment

The PowerShell advantage: debugging anytime

Today I was reminded of a great PowerShell feature: I can even debug script on a production server. Take that, compiled C# program!

The system administrator installed scripts I devised to update SharePoint online User Profile properties in bulk, but something failed in our tests. Well, just open PowerShell ISE, load the culprit script, set a break-point, start it and see what’s happening.

Oh, we forgot to set the IE proxy properly, so the script had no connection to internet. Easily found and fixed and the scripts started to work their magic.
Got to love PowerShell!

PowerShell


Leave a comment

PowerShell: Get-WSManCredSSPConfiguration: getting CredSSP configuration for local or remote computer

CredSSP is a security provider to help delegate credentials from a client computer to a target computer. In PowerShell, we can use CredSSP to overcome the double-hop authentication problem. Getting the current CredSSP configuration settings for client and target computer is a bit of a pain, though. My function Get-WSManCredSSPConfiguration helps with gathering the current CredSSP configuration on both local and target computers. Continue reading

icon-SharePoint2013-server


6 Comments

PowerShell: Recreate “SharePoint Web Services” web application bindings

SharePoint 2013 creates the “SharePoint Web Services” web application with bindings http->32843 and https->32844 and binds a private certificate from the LocalMachine\SharePoint certificate store to the https->32844 binding. My colleague used Remove-WebBinding -name “WebAppTitle” with the intention to remove only the binding for the specified web application name, but Remove-WebBinding seems to remove all IIS bindings, including the Default Webapplication, Central Administration and SharePoint Web Services!

Continue reading

Follow

Get every new post delivered to your Inbox.

Join 283 other followers