Quantcast
Channel: SCSM PowerShell Cmdlets
Viewing all articles
Browse latest Browse all 306

New Post: smlets error: "The requested name is valid, but no data of the requested type was found"

$
0
0
I did rebuild already, just before posting, because smlets seems to be compiled for RTM version and we installed an update. This update was long time ago.

Anyway : I found the problem (or at least a solution) in our environnement : I had to comment the setting of the global variable $smdefaultserver in the smlets module conf file (C:\Program Files\Common Files\SMLets\SMLets.psm1)
#$GLOBAL:smdefaultcomputer = "SCSMSERVERNAME"
Don't know why it wasn't working before I reinstall the smlets, but, anyway, it works now, that's OK.

By the way, I notice that 1 have 2 differents versions on our environnement (Get-SMLetsVersion) :
-preproduction :
TargetProduct       : Microsoft System Center Service Manager SP1
Revision            : unknown
LastChangedRev      : unknown
Changes             : {}
SMCoreVersion       : 7.0.6555.128
SM2012              : False
-production :
TargetProduct       : Microsoft System Center 2012 - Service Manager
Revision            : 74609
LastChangedRev      : 70086
Changes             : {M       WiX/SMLets.X86.msi, M       WiX/SMLets.msi}
SMCompiledVersion   : 7.5.1561.0    
SMInstalledVersion  : 7.0.6555.0
SM2012              : True
As our SCSM serveur is 2010 SP1, I guess this is better to use the version on the preproduction environnement.
Both versions seem to work, but do you think there could be an impact to use 2012 version of smlets to access a 2010 SP1 SCSM server ?

Thanks
C.

Viewing all articles
Browse latest Browse all 306

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>