<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>SCSM PowerShell Cmdlets</title><link>http://smlets.codeplex.com/project/feeds/rss</link><description>This project provides cmdlets for System Center Service Manager 2010 which can be used to automate common tasks.</description><item><title>Created Issue: Get-SMProperty PowerShell 3 Incompatibility [10983]</title><link>http://smlets.codeplex.com/workitem/10983</link><description>When trying to run get-smproperty using Powershell 3, One will receive an error similar to the following&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;add-member &amp;#58; Cannot add a member with the name &amp;#34;Class&amp;#34; because a member with that name already &lt;br /&gt;exists. If you want to overwrite the member anyway, use the Force parameter to overwrite it.&lt;br /&gt;At line&amp;#58;2 char&amp;#58;35&lt;br /&gt;&amp;#43; &amp;#36;class.GetProperties&amp;#40;&amp;#34;recursive&amp;#34;&amp;#41;&amp;#124;add-member -pass NoteProperty Class &amp;#36;class &amp;#124;&lt;br /&gt;&amp;#43;                                   &amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&amp;#126;&lt;br /&gt;    &amp;#43; CategoryInfo          &amp;#58; InvalidOperation&amp;#58; &amp;#40;SRText1&amp;#58;PSObject&amp;#41; &amp;#91;Add-Member&amp;#93;, InvalidOperation &lt;br /&gt;   Exception&lt;br /&gt;    &amp;#43; FullyQualifiedErrorId &amp;#58; MemberAlreadyExists,Microsoft.PowerShell.Commands.AddMemberCommand&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;Repro steps&amp;#58;&lt;br /&gt;&lt;br /&gt;1. Open Powershell V3&lt;br /&gt;2. Import SMlets module&lt;br /&gt;3. Run &amp;#58; get-smproperty -classname &amp;#91;classname guid from XML or SCSMAuthoring Tool&amp;#93;&lt;br /&gt;&lt;br /&gt;Workaround&amp;#58;&lt;br /&gt;1. Open powershell v2 &amp;#40;start &amp;#62; run &amp;#62; powershell -v 2&amp;#41;&lt;br /&gt;2. Run commands as normal.&lt;br /&gt;</description><author>da7rutrak</author><pubDate>Tue, 07 May 2013 21:17:14 GMT</pubDate><guid isPermaLink="false">Created Issue: Get-SMProperty PowerShell 3 Incompatibility [10983] 20130507091714P</guid></item><item><title>New Post: How to submit a Request Offering using SMLets</title><link>http://smlets.codeplex.com/discussions/442106</link><description>&lt;div style="line-height: normal;"&gt;Is there a way to submit a request offering using smlets? I need to use PowerShell to submit a request offering just as if a user was submitting a request offering via the service manager self-service portal.  I'll be using Orchestrator running a PowerShell script that submits the request offering from data it parses from an input file.&lt;br /&gt;
&lt;br /&gt;
I found a way to create a service request using smlets by using the New-SCSMOBject.  But, that just creates the service request without getting the user input fields populated like they are when submitting a request offering through the self-service portal.&lt;br /&gt;
&lt;br /&gt;
My goal is to create a service request but also have the user input fields populated just like they are when using the self-service portal.&lt;br /&gt;
&lt;br /&gt;
Any suggestions or examples would be very helpful.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
Jason&lt;br /&gt;
&lt;/div&gt;</description><author>jrmehl</author><pubDate>Tue, 30 Apr 2013 16:11:14 GMT</pubDate><guid isPermaLink="false">New Post: How to submit a Request Offering using SMLets 20130430041114P</guid></item><item><title>New Post: Trying to get the parent CR of a review activity...</title><link>http://smlets.codeplex.com/discussions/406330</link><description>&lt;div style="line-height: normal;"&gt;Try this to see if it works for you.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;$SCSMServer = &amp;quot;localhost&amp;quot;
$RA = &amp;quot;RA12345&amp;quot;
$ParentRequestRelationshipID = &amp;quot;2da498be-0485-b2b2-d520-6ebd1698e61b&amp;quot;
$ReviewActivity = Get-SCSMObject -Class (Get-SCSMClass -Name System.WorkItem.Activity.ReviewActivity$  -ComputerName $SCSMServer) -ComputerName $SCSMServer -Filter &amp;quot;ID -eq $RA&amp;quot;

$RelatedParentRequest = (Get-SCSMRelationshipObject -ComputerName $SCSMServer -ByTarget $ReviewActivity  | ?{$_.RelationshipID -eq $ParentRequestRelationshipID -and $_.IsDeleted -eq $False}) 
&lt;/code&gt;&lt;/pre&gt;

Ray&lt;br /&gt;
&lt;/div&gt;</description><author>rrascher</author><pubDate>Sun, 21 Apr 2013 16:50:03 GMT</pubDate><guid isPermaLink="false">New Post: Trying to get the parent CR of a review activity... 20130421045003P</guid></item><item><title>New Post: Service Manager 2012</title><link>http://smlets.codeplex.com/discussions/440510</link><description>&lt;div style="line-height: normal;"&gt;Have you tested these CmdLts with 2012 SP1 release?&lt;br /&gt;
&lt;/div&gt;</description><author>LeviStevens</author><pubDate>Tue, 16 Apr 2013 19:38:57 GMT</pubDate><guid isPermaLink="false">New Post: Service Manager 2012 20130416073857P</guid></item><item><title>New Post: Adding comments to SRs</title><link>http://smlets.codeplex.com/discussions/439512</link><description>&lt;div style="line-height: normal;"&gt;from what I can remember :) that looks good. I am a little surprised by the need to create a new projection rather than just create a new relationship&lt;br /&gt;
&lt;/div&gt;</description><author>jtruher</author><pubDate>Tue, 09 Apr 2013 16:11:00 GMT</pubDate><guid isPermaLink="false">New Post: Adding comments to SRs 20130409041100P</guid></item><item><title>New Post: Adding comments to SRs</title><link>http://smlets.codeplex.com/discussions/439512</link><description>&lt;div style="line-height: normal;"&gt;Thanks, Jim! You gave me some hints...&lt;br /&gt;
Sorry to hear you're out of the SM team... :(&lt;br /&gt;
&lt;br /&gt;
I'll share my findings with the rest in case you're looking for this:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;function Add-SRComment {
    param (
            [parameter(Mandatory=$true,Position=0)][Alias('SRObject')]$pSRObject,
            [parameter(Mandatory=$true,Position=1)][Alias('Comment')][String]$pComment,
            [parameter(Mandatory=$true,Position=2)][Alias('EnteredBy')][String]$pEnteredBy
          )
    $NewGUID = ([guid]::NewGuid()).ToString()
    $Projection = @{__CLASS = &amp;quot;System.WorkItem.ServiceRequest&amp;quot;;
                    __SEED = $pSRObject;
                    AnalystCommentLog = @{__CLASS = &amp;quot;System.WorkItem.TroubleTicket.AnalystCommentLog&amp;quot;;
                                          __OBJECT = @{Id = $NewGUID;
                                                       DisplayName = $NewGUID;
                                                       Comment = $pComment;
                                                       EnteredBy  = $pEnteredBy;
                                                       EnteredDate = (Get-Date).ToUniversalTime();
                                                       IsPrivate = $false
                                                      }
                                         }
                   }
    New-SCSMObjectProjection -Type &amp;quot;System.WorkItem.ServiceRequestProjection&amp;quot; -Projection $Projection
}


Add-SRComment -SRObject $SR -Comment &amp;quot;This is a test&amp;quot; -EnteredBy &amp;quot;Doe, John&amp;quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>GermanM</author><pubDate>Tue, 09 Apr 2013 01:14:02 GMT</pubDate><guid isPermaLink="false">New Post: Adding comments to SRs 20130409011402A</guid></item><item><title>New Post: Adding comments to SRs</title><link>http://smlets.codeplex.com/discussions/439512</link><description>&lt;div style="line-height: normal;"&gt;I've been out of the SM team for about 16 months, so I'm totally out of the loop here. I'm going off of some pretty old memories, but you should be able to create a new instance of a comment and then create a new relationship which connects the work item with the comment (I thought there was a script which helped with this, but I could be wrong about that - or it could be about incidents. Which means you need to track down the right relationship object.&lt;br /&gt;
&lt;br /&gt;
sorry i'm not more help&lt;br /&gt;
&lt;br /&gt;
jim&lt;br /&gt;
&lt;/div&gt;</description><author>jtruher</author><pubDate>Mon, 08 Apr 2013 18:29:38 GMT</pubDate><guid isPermaLink="false">New Post: Adding comments to SRs 20130408062938P</guid></item><item><title>New Post: Adding comments to SRs</title><link>http://smlets.codeplex.com/discussions/439512</link><description>&lt;div style="line-height: normal;"&gt;Hi Jim,&lt;br /&gt;
&lt;br /&gt;
I'm looking into a way of adding a comment for a Service Request through PowerShell... and getting the membership error.&lt;br /&gt;
&lt;br /&gt;
I've reviewed the example that Travis posted regarding creating an incident and including one comment by using a projection, but what's the alternative when you already have a work item and you just want to add a new comment to the action log via PowerShell?&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
German&lt;br /&gt;
&lt;/div&gt;</description><author>GermanM</author><pubDate>Mon, 08 Apr 2013 14:44:15 GMT</pubDate><guid isPermaLink="false">New Post: Adding comments to SRs 20130408024415P</guid></item><item><title>New Post: SCSM SMLets Assinged to Field</title><link>http://smlets.codeplex.com/discussions/266027</link><description>&lt;div style="line-height: normal;"&gt;I wrestled with this for a while too, managed in the end and have finally come back to the discussion hoping this helps someone&lt;br /&gt;
&lt;br /&gt;
i believe the big difference of it working or not working is &lt;strong&gt;where&lt;/strong&gt; you run the powershell, the &amp;quot;set-incidentuser&amp;quot; script above works fine if running from the SCSM server but won't work for me from a client machine, I think its down to this line $EMG = new-object ${EMGType} localhost&lt;br /&gt;
&lt;br /&gt;
I stole bits of the script above between begin and function and changed this line&lt;br /&gt;
&lt;br /&gt;
$EMG = new-object ${EMGType} $ourSCSMServer&lt;br /&gt;
&lt;br /&gt;
this code then worked a treat (in my case its just using the logged in user $env:username as the assigned to user as this is a small part of a quick incident logging tool)&lt;br /&gt;
&lt;br /&gt;
$AssignedToUser = Get-SCSMObject $UserClass -computer $ourSCSMServer -Filter &amp;quot;UserName -eq $env:username&amp;quot;&lt;br /&gt;
&lt;br /&gt;
$incident = $TheIncident.__base&lt;br /&gt;
&lt;br /&gt;
$Incident.Add(($AssignedToUser -as $EMOT) ,$ASSIGNEDTORELATIONSHIP.Target)&lt;br /&gt;
&lt;/div&gt;</description><author>u0005293</author><pubDate>Thu, 21 Mar 2013 16:21:26 GMT</pubDate><guid isPermaLink="false">New Post: SCSM SMLets Assinged to Field 20130321042126P</guid></item><item><title>New Post: New-SCSMIncident and affected user</title><link>http://smlets.codeplex.com/discussions/234930</link><description>&lt;div style="line-height: normal;"&gt;How do you know what the ID of the incident you created, using new-scsmincident ?&lt;br /&gt;
&lt;/div&gt;</description><author>renatofernandes28</author><pubDate>Mon, 11 Mar 2013 19:22:13 GMT</pubDate><guid isPermaLink="false">New Post: New-SCSMIncident and affected user 20130311072213P</guid></item><item><title>New Post: What are the values available for the -impact, -urgency and -classification ?</title><link>http://smlets.codeplex.com/discussions/436192</link><description>&lt;div style="line-height: normal;"&gt;What are the values available for the -impact, -urgency and -classification ?&lt;br /&gt;
&lt;br /&gt;
I know for impact and urgency there is low medium and high, is there a way we can add other fields ... ?&lt;br /&gt;
&lt;/div&gt;</description><author>renatofernandes28</author><pubDate>Mon, 11 Mar 2013 18:14:37 GMT</pubDate><guid isPermaLink="false">New Post: What are the values available for the -impact, -urgency and -classification ? 20130311061437P</guid></item><item><title>New Post: Running SMlets without being in the main server of SCSM 2010?</title><link>http://smlets.codeplex.com/discussions/436152</link><description>&lt;div style="line-height: normal;"&gt;Is there a way to &amp;quot;import-module smlets&amp;quot; without being on the main server of SCSM 2010. I'm Trying to script for my company, but the version of SCSM 2010 installed on my computer is slightly different of that in the main server. (My version doesn't have SDK Library folders)&lt;br /&gt;
&lt;/div&gt;</description><author>renatofernandes28</author><pubDate>Mon, 11 Mar 2013 14:23:13 GMT</pubDate><guid isPermaLink="false">New Post: Running SMlets without being in the main server of SCSM 2010? 20130311022313P</guid></item><item><title>New Post: Import-Module SmLets Error</title><link>http://smlets.codeplex.com/discussions/435796</link><description>&lt;div style="line-height: normal;"&gt;So i installed the SMLets.SP1.X86 for my SCSM 2010 SP1, when i open my windows powershell prompt and type &amp;quot;Import-Module SmLets&amp;quot; i get;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;ImportModule : Cannot load Windows Powershell ..... Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information&amp;quot;&lt;br /&gt;
&lt;/div&gt;</description><author>renatofernandes28</author><pubDate>Thu, 07 Mar 2013 18:50:45 GMT</pubDate><guid isPermaLink="false">New Post: Import-Module SmLets Error 20130307065045P</guid></item><item><title>New Post: smlets error: "The requested name is valid, but no data of the requested type was found"</title><link>http://smlets.codeplex.com/discussions/435034</link><description>&lt;div style="line-height: normal;"&gt;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.&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;#$GLOBAL:smdefaultcomputer = &amp;quot;SCSMSERVERNAME&amp;quot;
&lt;/code&gt;&lt;/pre&gt;

Don't know why it wasn't working before I reinstall the smlets, but, anyway, it works now, that's OK.&lt;br /&gt;
&lt;br /&gt;
By the way, I notice that 1 have 2 differents versions on our environnement (Get-SMLetsVersion) :&lt;br /&gt;
-preproduction :&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;TargetProduct       : Microsoft System Center Service Manager SP1
Revision            : unknown
LastChangedRev      : unknown
Changes             : {}
SMCoreVersion       : 7.0.6555.128
SM2012              : False&lt;/code&gt;&lt;/pre&gt;

-production : &lt;br /&gt;
&lt;pre&gt;&lt;code&gt;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
&lt;/code&gt;&lt;/pre&gt;

As our SCSM serveur is 2010 SP1, I guess this is better to use the version on the preproduction environnement.&lt;br /&gt;
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 ?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
C.&lt;br /&gt;
&lt;/div&gt;</description><author>cverheyd</author><pubDate>Mon, 04 Mar 2013 19:09:43 GMT</pubDate><guid isPermaLink="false">New Post: smlets error: "The requested name is valid, but no data of the requested type was found" 20130304070943P</guid></item><item><title>New Post: smlets error: "The requested name is valid, but no data of the requested type was found"</title><link>http://smlets.codeplex.com/discussions/435034</link><description>&lt;div style="line-height: normal;"&gt;It may be that you have installed an SM update which has new libraries. &lt;br /&gt;
This is the reason that the SMLets package has the sources, which you should rebuild and use the rebuilt binaries&lt;br /&gt;
&lt;/div&gt;</description><author>jtruher</author><pubDate>Mon, 04 Mar 2013 17:49:17 GMT</pubDate><guid isPermaLink="false">New Post: smlets error: "The requested name is valid, but no data of the requested type was found" 20130304054917P</guid></item><item><title>New Post: smlets error: "The requested name is valid, but no data of the requested type was found"</title><link>http://smlets.codeplex.com/discussions/435034</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
When I create an EntrepriseManagementGroup, it works :&lt;br /&gt;
&lt;br /&gt;
$EMG = new-object Microsoft.EnterpriseManagement.EnterpriseManagementGroup &amp;lt;computername&amp;gt;&lt;br /&gt;
$EMG.EntityTypes.GetClasses()&lt;br /&gt;
--&amp;gt; get the class list OK&lt;br /&gt;
&lt;br /&gt;
Don't know why it's not working with smlets...&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
C.&lt;br /&gt;
&lt;/div&gt;</description><author>cverheyd</author><pubDate>Mon, 04 Mar 2013 11:29:00 GMT</pubDate><guid isPermaLink="false">New Post: smlets error: "The requested name is valid, but no data of the requested type was found" 20130304112900A</guid></item><item><title>New Post: smlets error: "The requested name is valid, but no data of the requested type was found"</title><link>http://smlets.codeplex.com/discussions/435034</link><description>&lt;div style="line-height: normal;"&gt;I'm out of ideas, sorry. &lt;br /&gt;
&lt;br /&gt;
I left the Service Manager team about 14 months ago, so I'm also out of touch with changes. I would start looking at whether you've patched the system (perhaps there's a new version or SP for SM). You might try creating an EnterpriseManagementGroup object and seeing if you can directly access the service endpoint. This is all from memory, so you might have to try some other things:&lt;br /&gt;
&lt;br /&gt;
$EMG = new-object Microsoft.EnterpriseManagement.EnterpriseManagementGroup &amp;lt;computername&amp;gt;&lt;br /&gt;
$EMG.Classes.GetClasses() &lt;br /&gt;
&lt;br /&gt;
or something like that&lt;br /&gt;
&lt;br /&gt;
good luck!&lt;br /&gt;
&lt;/div&gt;</description><author>jtruher</author><pubDate>Fri, 01 Mar 2013 23:50:18 GMT</pubDate><guid isPermaLink="false">New Post: smlets error: "The requested name is valid, but no data of the requested type was found" 20130301115018P</guid></item><item><title>New Post: smlets error: "The requested name is valid, but no data of the requested type was found"</title><link>http://smlets.codeplex.com/discussions/435034</link><description>&lt;div style="line-height: normal;"&gt;Thanks for your hint. &lt;br /&gt;
&lt;br /&gt;
To answer your questions, we created some new custom classes, but &lt;em&gt;not&lt;/em&gt; recently. &lt;br /&gt;
The smlets &lt;em&gt;has&lt;/em&gt; worked fine I think for a while on this environnement, or at least, they work on the production environnement which is all the same versions as this one. I can't say exactly when it start malfunctionning... &lt;br /&gt;
&lt;br /&gt;
To be sure that it was not a version problem, I juste re-install the smlets this morning before posting this problem (with need to build as our SCSM has been patched). But I have the same error after that. &lt;br /&gt;
&lt;br /&gt;
The $error[0].Exception show an error number (11004) that gave more information about the problem.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;PS C:\ &amp;gt; $error[0].Exception|fl -force
ErrorCode       : 11004
Message         : The requested name is valid, but no data of the requested type was found
SocketErrorCode : NoData
NativeErrorCode : 11004
Data            : {}
InnerException  :
TargetSite    : System.Net.IPHostEntry GetAddrInfo(System.String)
StackTrace   :  at System.Net.Dns.GetAddrInfo(String name)
                     at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
                     at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
                     at Microsoft.EnterpriseManagement.Common.Internal.ServerDefinition..ctor(EnterpriseManagementConnectionSettings connectionSettings, Type groupType, Type coreType)
                     at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCorecallbackDispatcherService)
                     at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
                     at Microsoft.EnterpriseManagement.EnterpriseManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, EnterpriseManagementGroupInternal internalsProxy)
                     at SMLets.ConnectionHelper.GetMG(String computerName, PSCredential credential)
                     at SMLets.SMCmdletBase.BeginProcessing()
HelpLink        :
Source          : System&lt;/code&gt;&lt;/pre&gt;

I found this interesting link about Windows Sockets Error Codes :&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668%28v=vs.85%29.aspx" rel="nofollow"&gt;http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668%28v=vs.85%29.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Including my error : &lt;br /&gt;
&lt;strong&gt;WSANO_DATA (11004)&lt;/strong&gt;&lt;br /&gt;
Valid name, no data record of requested type.&lt;br /&gt;
The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a host name-to-address translation attempt (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). An MX record is returned but no A record—indicating the host itself exists, but is not directly reachable.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Nevertheless, I still don't understand the problem I have as DNS server seems to be configured the same as previously, SCSM server is well registered (A record), and is indeed reachable. &lt;br /&gt;
Do you know which port does smlets try to use to connect SCSM service ? &lt;br /&gt;
&lt;br /&gt;
I tried too to launch the Get-SCSMClass with -ComputerName argument :&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;PS C:\&amp;gt; Get-SCSMClass -ComputerName &amp;lt;hostname&amp;gt;
PS C:\&amp;gt; Get-SCSMClass -ComputerName &amp;lt;hostname.fqdn&amp;gt;
PS C:\&amp;gt; Get-SCSMClass -ComputerName localhost&lt;/code&gt;&lt;/pre&gt;

They all have the same result (error 11004).&lt;br /&gt;
&lt;br /&gt;
Any Idéa ?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;/div&gt;</description><author>cverheyd</author><pubDate>Fri, 01 Mar 2013 23:35:15 GMT</pubDate><guid isPermaLink="false">New Post: smlets error: "The requested name is valid, but no data of the requested type was found" 20130301113515P</guid></item><item><title>New Post: smlets error: "The requested name is valid, but no data of the requested type was found"</title><link>http://smlets.codeplex.com/discussions/435034</link><description>&lt;div style="line-height: normal;"&gt;Is it possible that you've created some new classes? Or are trying to use the wrong version of the cmdlets against the service?&lt;br /&gt;
it's hard to tell from this message, but you should be able to get more detail via $error. Immediately following this error, try looking at the contents of $error&lt;br /&gt;
&lt;br /&gt;
$error[0]|fl -force&lt;br /&gt;
$error[0].Exception|fl -force&lt;br /&gt;
$error[0].Exception.InnerException|fl -force&lt;br /&gt;
&lt;/div&gt;</description><author>jtruher</author><pubDate>Fri, 01 Mar 2013 20:36:30 GMT</pubDate><guid isPermaLink="false">New Post: smlets error: "The requested name is valid, but no data of the requested type was found" 20130301083630P</guid></item><item><title>New Post: smlets error: "The requested name is valid, but no data of the requested type was found"</title><link>http://smlets.codeplex.com/discussions/435034</link><description>&lt;div style="line-height: normal;"&gt;Hi, &lt;br /&gt;
&lt;br /&gt;
We are facing this error in our preproduction environnement (SCSM 2010 SP1, smlets Béta4).&lt;br /&gt;
Everything is working fine on the production environnement, which is the same version for all components. &lt;br /&gt;
&lt;br /&gt;
Every cmdlet that need to access SCSM server return this error (example with get-SCSMClass) : &lt;br /&gt;
PS C:&amp;gt; Get-SCSMClass&lt;br /&gt;
Get-SCSMClass : The requested name is valid, but no data of the requested type was found&lt;br /&gt;
At line:1 char:14&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;
Get-SCSMClass &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;CategoryInfo          : InvalidOperation: (localhost:String) [Get-SCSMClass], SocketException&lt;/li&gt;
&lt;li&gt;
FullyQualifiedErrorId : GenericMessage,SMLets.GetSMClassCommand&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
Does anybody know where it come from ?&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
C. &lt;br /&gt;
&lt;/div&gt;</description><author>cverheyd</author><pubDate>Fri, 01 Mar 2013 14:16:46 GMT</pubDate><guid isPermaLink="false">New Post: smlets error: "The requested name is valid, but no data of the requested type was found" 20130301021646P</guid></item></channel></rss>