<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 10/05/11 2:09 AM, Scot Kreienkamp wrote:
    <blockquote
      cite="mid:59E62072D4EFFF4BB912EC607F8FA60B02ECC192@lzbs6304.na.lzb.hq"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi everyone,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I've run into a problem with the Windows
          Powershell client intermittently omitting service data on
          Win2008.  Here's the relevant parts of the client data file:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Microsoft Windows Server 2008 R2 Standard  
          (build 7600)<o:p></o:p></p>
        <p class="MsoNormal">---snip---<o:p></o:p></p>
        <p class="MsoNormal">Persistent Routes:<o:p></o:p></p>
        <p class="MsoNormal">  None<o:p></o:p></p>
        <p class="MsoNormal">[ifstat]<o:p></o:p></p>
        <p class="MsoNormal">fe80::619f:8c8:bf22:6ca5%11 2254617444
          2999570366<o:p></o:p></p>
        <p class="MsoNormal">10.100.1.211 2254617444 2999570366<o:p></o:p></p>
        <p class="MsoNormal">::1 0 0<o:p></o:p></p>
        <p class="MsoNormal">127.0.0.1 0 0<o:p></o:p></p>
        <p class="MsoNormal">[svcs]<o:p></o:p></p>
        <p class="MsoNormal">Name                                   
          StartupType  Status         DisplayName<o:p></o:p></p>
        <p class="MsoNormal">[uptime]<o:p></o:p></p>
        <p class="MsoNormal">sec: 8168297<o:p></o:p></p>
        <p class="MsoNormal">94 days 12 hours 58 minutes 17 seconds<o:p></o:p></p>
        <p class="MsoNormal">Bootup: 20110203213923.713291-360<o:p></o:p></p>
        <p class="MsoNormal">[who]<o:p></o:p></p>
        <p class="MsoNormal"> SESSIONNAME       USERNAME                
          ID  STATE   TYPE        DEVICE<o:p></o:p></p>
        <p class="MsoNormal">---snip---<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">As you can see, the svcs portion is empty. 
          I already updated the client to the latest PS client files
          available and it still is happening. I'm not a programmer so
          I'm not sure how I can help troubleshoot this, but I'm willing
          to help in any way I can.<o:p></o:p></p>
      </div>
    </blockquote>
    services information is gathered from WMI. The builtin powershell
    "get-services" doesn't return sufficient information.<br>
    <br>
    Try the following:<br>
    <br>
    open a powershell window (powershell.exe lives in
    C:\WINDOWS\system32\windowspowershell\v1.0)<br>
    <br>
    Get-WmiObject -Class Win32_Service<br>
    <br>
    Try running it a few times. Is it slow, or does it sometimes not
    return any information?<br>
    <br>
    Also, if you look at the Client data report (link at the bottom of
    various pages - cpu, disk, procs, svcs), do you see sections for
    [WMI:Win32...] towards the bottom of the report. There should be:<br>
    <pre>WMI:Win32_OperatingSystem
WMI:Win32_ComputerSystem
WMI:Win32_BIOS
WMI:Win32_Processor
WMI:Win32_PhysicalMemory
WMI:Win32_LogicalDisk
WMI:Win32_QuickFixEngineering
WMI:Win32_Product

</pre>
    If these are missing there may be a problem with the WMI service.
    Try restarting it in the first instance.<br>
    <br>
    David.<br>
    <blockquote
      cite="mid:59E62072D4EFFF4BB912EC607F8FA60B02ECC192@lzbs6304.na.lzb.hq"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks!<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span style="font-family:
            "Arial","sans-serif";">Scot Kreienkamp<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-family:
            "Arial","sans-serif";"><a class="moz-txt-link-abbreviated" href="mailto:skreien@la-z-boy.com">skreien@la-z-boy.com</a><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <p class="MsoNormal" style="margin: 0in 0in 0pt;"><span
          style="font-size: 8pt; color: gray;"></span> </p>
      <p class="MsoNormal" style="margin: 0in 0in 0pt;"><span
          style="font-size: 8pt; color: gray;"></span> </p>
      <p class="MsoNormal" style="margin: 0in 0in 0pt;"> </p>
      <p class="MsoNormal" style="margin: 0in 0in 0pt;"><span
          style="font-size: 8pt; color: gray;"><font face="Arial">This
            message is intended only for the individual or entity to
            which it is addressed.  It may contain privileged,
            confidential information which is exempt from disclosure
            under applicable laws.  If you are not the intended
            recipient, please note that you are strictly prohibited from
            disseminating or distributing this information (other than
            to the intended recipient) or copying this information.  If
            you have received this communication in error, please notify
            us immediately by e-mail or by telephone at the above
            number. Thank you. <o:p></o:p></font></span></p>
      <a moz-do-not-send="true" title="gfidisc.la-z-boy.com" href="#"> </a></blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
David Baldwin - IT Unit
Australian Sports Commission          <a class="moz-txt-link-abbreviated" href="http://www.ausport.gov.au">www.ausport.gov.au</a>
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
<a class="moz-txt-link-abbreviated" href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a>          Leverrier Street Bruce ACT 2617
</pre>
  <br>
<hr>
Keep up to date with what's happening in Australian sport visit <a href="http://www.ausport.gov.au">www.ausport.gov.au</a>
<br><br>
<font size="-2" face="arial">This message is intended for the addressee named and may contain confidential and privileged information.  If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful.  If you receive this message in error, please delete it and notify the sender.</font>
<hr>
</body>
</html>