Installation problems finding Microsoft.EnterpriseManagement.Core.dll

Apr 30, 2015 at 3:46 PM
PS C:\Program Files\Common Files\SMLets> Import-Module smlets
resolve-path : Cannot find path 'C:\Program Files\Microsoft System Center 2012 R2\Service Manager\SDK Binaries\Microsoft.EnterpriseManagement.Core.dll' because it does
not exist.
At C:\Program Files\Common Files\smlets\SMLets.psm1:33 char:21
  • $dllpath = (resolve-path $dll).path
  • ~~~~~~~~~~~~~~~~~
    • CategoryInfo : ObjectNotFound: (C:\Program File...gement.Core.dll:String) [Resolve-Path], ItemNotFoundException
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand
Exception calling "LoadFile" with "1" argument(s): "The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"
At C:\Program Files\Common Files\smlets\SMLets.psm1:40 char:13
  • [reflection.assembly]::LoadFile($dllpath)
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : ArgumentException
Here is a great article that solved my installation problems:
http://www.lazywinadmin.com/2014/09/powershell-scsm-install-and-config.html
jerry