In PowerShell you get the following error when trying to import the RoyalDocument.PowerShell.dll:
Import-Module : Could not load file or assembly 'file:///C:\Program Files (x86)\code4ward.net\Royal TS V3\RoyalDocument.PowerShell.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
At line:1 char:14
Import-Module <<<< '.\RoyalDocument.PowerShell.dll'
CategoryInfo : NotSpecified: (:) [Import-Module], BadImageFormatException
FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.PowerShell.Commands.ImportModuleCommand
Reason
PowerShell by default is built against the .NET framework 2.0 internally. You can check this with the PowerShell variable:
$PSVersionTable
(look for CLR Version)
Solution
You should update to at least PowerShell 4 - it is included in the Windows Management Framework 4.0. More details can be found at
After installing, you have a newer PowerShell that was built against .NET 4.