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
At C:\Program Files\Common Files\smlets\SMLets.psm1:40 char:13
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
At C:\Program Files\Common Files\smlets\SMLets.psm1:40 char:13
- [reflection.assembly]::LoadFile($dllpath)
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
-
FullyQualifiedErrorId : ArgumentException
http://www.lazywinadmin.com/2014/09/powershell-scsm-install-and-config.html
jerry