<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>CarlosPantoja</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/carlospantoja/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/carlospantoja/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:22:48 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>PowerShell Script to place SCOM 2012 SP1 agent(s) in Maintenance Mode</title>
      <link>https://docs.microsoft.com/archive/blogs/carlospantoja/powershell-script-to-place-scom-2012-sp1-agents-in-maintenance-mode</link>
      <pubDate>Wed, 15 Aug 2012 10:13:00 GMT</pubDate>
      <dc:creator><![CDATA[Carlos Pantoja]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/carlospantoja/2012/08/15/powershell-script-to-place-scom-2012-sp1-agents-in-maintenance-mode/</guid>
      <description><![CDATA[I had to&nbsp;help a customer to place&nbsp;his Citrix servers in Maintenance Mode during the...]]></description>
      <content:encoded><![CDATA[<p>I had to&nbsp;help a customer to place&nbsp;his Citrix servers in Maintenance Mode during the routine reboot.<br />He was trying to use the example in&nbsp;the <a title="Start-SCOMMaintenanceMode" href="https://technet.microsoft.com/en-us/library/hh918505(v=sc.10).aspx" target="_blank">MSDN</a> and it was not working throwing the error bellow<br />As it turns out&nbsp;you have to get an instance of the&nbsp;&lt;Microsoft.Windows.Computer&gt; class for it to work.</p>
<p>-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-</p>
<p><span style="color:#ff0000;font-family:Lucida Console;font-size:xx-small;background-color:#c0c0c0;"><span style="color:#ff0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff0000;font-family:Lucida Console;font-size:xx-small;">Start-SCOMMaintenanceMode : The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.</span></span></span></p>
<p><span style="background-color:#c0c0c0;">At C:\Scripts\SCOMAGENTMM.ps1:15 char:5</span></p>
<p><span style="background-color:#c0c0c0;">+ Start-SCOMMaintenanceMode -Instance $instance -EndTime $Time -Reason $reason ...</span></p>
<p><span style="background-color:#c0c0c0;">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></p>
<p><span style="background-color:#c0c0c0;">+ CategoryInfo : InvalidOperation: (Microsoft.Syste...anceModeCommand:StartSCMaintenanceModeCommand) [Start-SCOMMaintenanceMode], ServerDisconnectedE</span></p>
<p><span style="background-color:#c0c0c0;">xception</span></p>
<p><span style="background-color:#c0c0c0;">+ FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.OperationsManagerV10.Commands.StartSCMaintenanceModeCommand</span></p>
<p></p>
<p>-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-</p>
<p>&lt;#</p>
<p></p>
<p>#&gt;</p>
<p>So instead of just that:</p>
<p><span style="font-family:Lucida Console;font-size:small;"><span style="font-family:Lucida Console;"><span style="color:orangered;">$Instance</span> <span style="color:gray;">=</span> Get<span style="color:gray;">-</span>SCOMClassInstance <span style="color:gray;">-</span>Name <span style="color:#a31515;">$server</span></span></span></p>
<p>He had to use&nbsp;those lines on his script:</p>
<p><span style="font-size:small;"><span style="color:#ff4500;font-family:Lucida Console;"><span style="color:#ff4500;font-family:Lucida Console;"><span style="color:#ff4500;font-family:Lucida Console;">$instanceclass</span></span></span><span style="color:#a9a9a9;font-family:Lucida Console;"><span style="color:#a9a9a9;font-family:Lucida Console;"><span style="color:#a9a9a9;font-family:Lucida Console;">=</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> </span></span><span style="color:#0000ff;font-family:Lucida Console;"><span style="color:#0000ff;font-family:Lucida Console;"><span style="color:#0000ff;font-family:Lucida Console;">get-scomclass</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> </span></span><span style="color:#000080;font-family:Lucida Console;"><span style="color:#000080;font-family:Lucida Console;"><span style="color:#000080;font-family:Lucida Console;">-Name</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> </span></span><span style="color:#8a2be2;font-family:Lucida Console;"><span style="color:#8a2be2;font-family:Lucida Console;"><span style="color:#8a2be2;font-family:Lucida Console;">Microsoft.Windows.Computer<br /></span></span></span><span style="color:#ff4500;font-family:Lucida Console;"><span style="color:#ff4500;font-family:Lucida Console;"><span style="color:#ff4500;font-family:Lucida Console;">$instance</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> </span></span><span style="color:#a9a9a9;font-family:Lucida Console;"><span style="color:#a9a9a9;font-family:Lucida Console;"><span style="color:#a9a9a9;font-family:Lucida Console;">=</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> </span></span><span style="color:#0000ff;font-family:Lucida Console;"><span style="color:#0000ff;font-family:Lucida Console;"><span style="color:#0000ff;font-family:Lucida Console;">Get-SCOMClassInstance</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> </span></span><span style="color:#000080;font-family:Lucida Console;"><span style="color:#000080;font-family:Lucida Console;"><span style="color:#000080;font-family:Lucida Console;">-Class</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;"><span style="color:#ff4500;font-family:Lucida Console;"><span style="color:#ff4500;font-family:Lucida Console;">$instanceclass</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> </span></span><span style="color:#a9a9a9;font-family:Lucida Console;"><span style="color:#a9a9a9;font-family:Lucida Console;"><span style="color:#a9a9a9;font-family:Lucida Console;">|</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> </span></span><span style="color:#0000ff;font-family:Lucida Console;"><span style="color:#0000ff;font-family:Lucida Console;"><span style="color:#0000ff;font-family:Lucida Console;">Where</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> {</span></span><span style="color:#ff4500;font-family:Lucida Console;"><span style="color:#ff4500;font-family:Lucida Console;"><span style="color:#ff4500;font-family:Lucida Console;">$_</span></span></span><span style="color:#a9a9a9;font-family:Lucida Console;"><span style="color:#a9a9a9;font-family:Lucida Console;"><span style="color:#a9a9a9;font-family:Lucida Console;">.</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;">DisplayNAme </span></span><span style="color:#a9a9a9;font-family:Lucida Console;"><span style="color:#a9a9a9;font-family:Lucida Console;"><span style="color:#a9a9a9;font-family:Lucida Console;">-match</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;"><span style="color:#ff4500;font-family:Lucida Console;"><span style="color:#ff4500;font-family:Lucida Console;">$server</span></span></span><span style="font-family:Lucida Console;"><span style="font-family:Lucida Console;">}</span></span></span></p>
<p>&lt;#</p>
<p></p>
<p>#&gt;</p>
<p>So here it goes the complete PS1 script working on SCOM 2012 SP1 Managemet Server</p>
<p>Paste it on the new PowerShell ISE script window replacing&nbsp;computer names&nbsp;and done!</p>
<p><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;">New-SCOMManagementGroupConnection</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;">-computername</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#8a2be2;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8a2be2;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8a2be2;font-family:Lucida Console;font-size:xx-small;">.</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span></p>
<p><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$servers</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;">=</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> (</span></span><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;">&#39;MyServer1.MyDomain.com&#39;,<span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;">&#39;MyServer2.MyDomain.com&#39;,<span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;">&#39;MyServer3.MyDomain.com&#39;</span></span></span></span></span></span></span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;">)</span></span></p>
<p><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$time</span></span></span><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;">=</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;">((</span></span><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;">Get-Date</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;">)</span></span><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;">.</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;">AddMinutes(</span></span><span style="color:#800080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#800080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#800080;font-family:Lucida Console;font-size:xx-small;">6</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;">))</span></span></p>
<p><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$comment</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;">=</span></span></span><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;">&quot;Citrix reboot routine&quot;</span></span></span></p>
<p><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$reason</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;">=</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8b0000;font-family:Lucida Console;font-size:xx-small;">&quot;PlannedApplicationMaintenance&quot;</span></span></span></p>
<p><span style="color:#00008b;font-family:Lucida Console;font-size:xx-small;"><span style="color:#00008b;font-family:Lucida Console;font-size:xx-small;"><span style="color:#00008b;font-family:Lucida Console;font-size:xx-small;">foreach</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> (</span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$server</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#00008b;font-family:Lucida Console;font-size:xx-small;"><span style="color:#00008b;font-family:Lucida Console;font-size:xx-small;"><span style="color:#00008b;font-family:Lucida Console;font-size:xx-small;">in</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$servers</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;">)</span></span></p>
<p>{</p>
<p><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$instanceclass</span></span></span><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;">=</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;">get-scomclass</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;">-Name</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#8a2be2;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8a2be2;font-family:Lucida Console;font-size:xx-small;"><span style="color:#8a2be2;font-family:Lucida Console;font-size:xx-small;">Microsoft.Windows.Computer</span></span></span></p>
<p><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$instance</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;">=</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;">Get-SCOMClassInstance</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;">-Class</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$instanceclass</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;">|</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;">Where</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> {</span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$_</span></span></span><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;">.</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;">DisplayNAme </span></span><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;"><span style="color:#a9a9a9;font-family:Lucida Console;font-size:xx-small;">-match</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$server</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;">}</span></span></p>
<p><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;">Write-Host</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$instance</span></span></span></p>
<p><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;"><span style="color:#0000ff;font-family:Lucida Console;font-size:xx-small;">Start-SCOMMaintenanceMode</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;">-Instance</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$instance</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;">-EndTime</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$Time</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;">-Comment</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$comment</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;"><span style="color:#000080;font-family:Lucida Console;font-size:xx-small;">-Reason</span></span></span><span style="font-family:Lucida Console;font-size:xx-small;"><span style="font-family:Lucida Console;font-size:xx-small;"> </span></span><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;"><span style="color:#ff4500;font-family:Lucida Console;font-size:xx-small;">$reason</span></span></span></p>
<p>}</p>
<p></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>SCSM 2012 Incident Resolution Satisfaction Surveys on SharePoint 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/carlospantoja/scsm-2012-incident-resolution-satisfaction-surveys-on-sharepoint-2010</link>
      <pubDate>Wed, 08 Aug 2012 17:22:00 GMT</pubDate>
      <dc:creator><![CDATA[Carlos Pantoja]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/carlospantoja/2012/08/08/scsm-2012-incident-resolution-satisfaction-surveys-on-sharepoint-2010/</guid>
      <description><![CDATA[Travis Wright wrote a nice blog on how to create a satisfaction survey on SCSM 2010 and Sharepoint...]]></description>
      <content:encoded><![CDATA[<p>Travis Wright wrote a nice blog on how to create a satisfaction survey on SCSM 2010 and Sharepoint Portal Server 2007.</p>
<p><a href="https://blogs.technet.com/b/servicemanager/archive/2009/12/08/incident-resolution-satisfaction-surveys-on-sharepoint.aspx">https://blogs.technet.com/b/servicemanager/archive/2009/12/08/incident-resolution-satisfaction-surveys-on-sharepoint.aspx</a></p>
<p>The steps on SCSM worked but you have to download the SharePoint Designer 2010 and Designer Service Pack 1</p>
<p><a href="https://www.microsoft.com/en-us/download/details.aspx?id=24309">https://www.microsoft.com/en-us/download/details.aspx?id=24309</a></p>
<p><a href="https://www.microsoft.com/en-us/download/details.aspx?id=26634">https://www.microsoft.com/en-us/download/details.aspx?id=26634</a></p>
<p>After some try and error I figured where to imput the JavaScript to hide the Incident and Analyst that is different on SharePoint 2010 page:</p>
<p>Look into the <span style="background-color: #ffffff; color: #ff0000; font-size: large;"><strong>red Arrow</strong></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/36/1565.Where%20to%20Insert%20the%20JavaScript.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-36/1565.Where-to-Insert-the-JavaScript.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/36/1565.Where%20to%20Insert%20the%20JavaScript.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-36/1565.Where-to-Insert-the-JavaScript.jpg" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Installing Update Rollup 2 for System Center 2012 Service Manager (KB2719827)</title>
      <link>https://docs.microsoft.com/archive/blogs/carlospantoja/installing-update-rollup-2-for-system-center-2012-service-manager-kb2719827</link>
      <pubDate>Tue, 31 Jul 2012 16:19:00 GMT</pubDate>
      <dc:creator><![CDATA[Carlos Pantoja]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/carlospantoja/2012/07/31/installing-update-rollup-2-for-system-center-2012-service-manager-kb2719827/</guid>
      <description><![CDATA[First download&nbsp;the two&nbsp;Winzip Self-Extractor files the 32bit and the 64bit from here:...]]></description>
      <content:encoded><![CDATA[<p>First download&nbsp;the two&nbsp;Winzip Self-Extractor files the 32bit and the 64bit from here: <a href="https://www.microsoft.com/en-us/download/details.aspx?id=30410">https://www.microsoft.com/en-us/download/details.aspx?id=30410</a></p>
<p>Run as administrator 64bit on the 64bit&nbsp;SCSM server, SCSM DW server and SCSM Portal server.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/36/7776.SCSMRU2Winzip.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-36/7776.SCSMRU2Winzip.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/36/7776.SCSMRU2Winzip.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-36/7776.SCSMRU2Winzip.jpg" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/36/7774.SCSMRU2Winzip.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-36/7774.SCSMRU2Winzip.jpg"></a></p>
<p>&nbsp;</p>
<p>Accept the EULA and click on Install</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/36/1488.Eula.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-36/1488.Eula.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/36/1488.Eula.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-36/1488.Eula.jpg" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/36/5734.Eula.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-36/5734.Eula.jpg"></a></p>
<p>&nbsp;</p>
<p>When the install finishes sucessfully it looks like this:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/36/8838.finished%20installation.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-36/8838.finished-installation.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/95/36/8838.finished%20installation.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-95-36/8838.finished-installation.jpg" /></a>&nbsp;</p>
<p>&nbsp;</p>
<p>Click on the Open the Setup Log on the right side of the final install screen.</p>
<p>It will open the Setup log file for you.</p>
<p>The final lines of my&nbsp;Setup log file are as follows:</p>
<p>06:41:40:<strong><span style="color: #ff0000;">ApplyQuickFixEngineering: Return value was 0.&nbsp;</span></strong> Check the log at C:\Users\Administrator\AppData\Local\Temp\SCSM2012_CU_KB2719827_AMD64_7.5.1561.106.msp.1.log for more detailed information.<br />06:41:40:TransformListToApply: Processing transform install data for POSTINSTALL<br />06:41:40:SetProgressScreen: FinishMinorStep.<br />06:41:46:Starting <a href="https://go.microsoft.com/fwlink/?LinkId=232700&amp;PLCID=1033">https://go.microsoft.com/fwlink/?LinkId=232700&amp;PLCID=1033</a><br />06:41:55:Starting C:\Users\Administrator\AppData\Local\Temp\SCSMPatcherSetupWizard03.log</p>
<p>&nbsp;</p>
<p>The same procedure applies for when running on additional Management Servers and&nbsp;on the Management Servers of the DW&nbsp;Management Group.</p>
<p>Use the 32bit package if you running the console on a Windows Vista 32bit or Windows 7 32Bit&nbsp;.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>