process files with .TMP file extensions

We received a question how to process with .TMP file extensions.  IISLogs has a feature called Per Directory that was introduced in 2.0.  The feature allows an administrator to have granular control on a per directory basis.  We added the .TMP extension as an option in the Per Directory feature, please review the Per Directory article for complete options.  If you have any questions, feel free to contact our support alias @ info@iislogs.com

Open IISLogsGUI, Select Per Directory option

Fill in the Directory Name and other attributes you need.

Select TMP

Capture

When you save this, in the install folder the data is stored in a file called IISLogsPerDirectory.xml

<?xml version=”1.0″ standalone=”yes”?>
<NewDataSet>
  <Table1>
    <DirectoryName>c:inetpubtemptest</DirectoryName>
    <ZipFile>false</ZipFile>
    <ZipRetentionPeriod>0</ZipRetentionPeriod>
    <DeleteOriginalFile>false</DeleteOriginalFile>
    <DeleteFile>true</DeleteFile>
    <DeleteRetentionPeriod>48</DeleteRetentionPeriod>
    <Recursive>false</Recursive>
    <ProcessRootFolderRecursive>false</ProcessRootFolderRecursive>
    <ZipFilePath>local</ZipFilePath>
    <IncludeComputerName>false</IncludeComputerName>
    <ProcessUnknownExtensions>false</ProcessUnknownExtensions>
    <ProcessTXT>false</ProcessTXT>
    <ProcessBAK>false</ProcessBAK>
    <ProcessDAT>false</ProcessDAT>
    <ProcessXML>false</ProcessXML>
    <NamingConvention>Default</NamingConvention>
    <Delimiter>!</Delimiter>
    <ProcessEXE>false</ProcessEXE>
    <ProcessMSP>false</ProcessMSP>
    <ProcessDLL>false</ProcessDLL>
    <ProcessINI>false</ProcessINI>
    <ProcessCFG>false</ProcessCFG>
    <ProcessTMP>true</ProcessTMP>
    <LogsDWM>1</LogsDWM>
    <PreserveDirPath>true</PreserveDirPath>
  </Table1>
</NewDataSet>

Cheers,

Steve Schofield
Microsoft MVP – IIS

Continuing on with Daniel’s plan

Its been a few days and still on the prowl of losing weight, learning how to eat differently.  My wife has been awesome putting together some tasty meals.  One of the options to exclude from the diet is wheat (Ive later learned Glutton).  I dont know all the details, many things use this ingredient.  Although Ive not followed the diet to the letter, my eating habits have improved greatly.  during the day, Ive been snacking on oranges, broccoli, cauliflower and apples.  It helps with the mid-morning and mid-afternoon urges to snack.  My downfall is after I get home from work, all I want to do is snack.  Chips, cookies, leftovers or whatever is laying around.  The vegies and fruit has helped. 

Im down around 4.1 pounds in seven days.  My goal is initially 6 8 pounds, then well see how my body reacts.   If I had to wish, Id like 18 as a phase 1.  I suppose when you reach one goal, youll keep going.  I hope to reach this crossroads in the future, for now, my faith is strong.  God is actively in the project and Im leaning on Him for strength to succeed

Praise God,

Steve

Daniel diet notes day 1 and 2

Day 1 and 2 notes.  I weighed myself and my goal is 8.5 pounds to shed. Anything more is frosting on the cake, even though we cant have it. 🙂 My wife and I are attempting the Daniel Plan written by Rick Warren and some other authors, Rick is the head pastor from Saddleback church.   Its a 10 day detox and 30 day diet helping change the way a person eats.   For me, i dont drink anything on a regular basis with caffeine, which my wife has a slight obsession with Diet Coke, and Chocolate.  I like sweets though!

When we were shopping for the food, there is nothing cheap about ingredients to make the food.  This will be my first adventure into a diet per se.  Im glad cause my wife does the cooking, previous attempts to watch what I eat, generally failed.  Im stuck at a certain weight even though I work out 3 to 4 days a week.  I did a sprint triathlon in 2012 and worked out 5 and 6 days a week.  Even this didnt help lose a lot of weight.  This proved a diet is critical part of toning up and losing weight. 

We were shopping, one funny thing I realized, Im glad we dont have to diet toliet paper.  Everything else we purchased was new!  The first day consisted of salad, vegies, a new vinegar based salad dressing.  We had stir fry with some tofu (fake meat), which wasnt too bad either.  

On the faith side, the wife and are using the Duck Dynasty devotional book my wife got for me Christmas.  Unlike other attempts, this is my first adventure actively including my faith.  If its in His will, we will succeed.  I believe that 100%.

The word that came out of our devotionals, perseverance –

steadfastness in doing something despite difficulty or delay in achieving success

Lord, I pray for help with the change in diet, change in habits and be present for my wife and I during this journey.

Amen!

Stay tuned,

Steve

The application has failed to start because its side-by-side configuration is incorrect error in IISLogs

We have an occasional support question a person receives an error when trying to execute IISLogs.

Problem:
The problem is a space “&nbsp;” or “!” stored within the configuration item normally causes the issue.

<add key=”MonitoredEntireDirectories” value=”&nbsp;” />

or

<add key=”MonitoredEntireDirectories” value=”!” />

Solution:

Remove the “&nbsp;” or “&#x0!” value using a text editor such as Notepad.

side-by-side-error3

Here are screenshots to showing the error and where to look.

side-by-side-error1

side-by-side-error2

Using CimCmdlets to connect to CIM provider with Powershell and VMware

I needed to retrieve hardware status on memory DIMM’s and used PowerCLI, Powershell to retrieve the data.  Note the script assumes you have a text file list of servers.

#Reference articles
#https://communities.vmware.com/thread/446593
#http://www.virtu-al.net/2012/10/29/using-powershell-v3-0-cim-cmdlets-with-vmware-esxi-hosts/
#http://technet.microsoft.com/en-us/library/jj553783.aspx
#http://www.powertheshell.com/additional-cim-cmdlets-for-download/
#http://blogs.msdn.com/b/powershell/archive/2012/08/24/introduction-to-cim-cmdlets.aspx
#Import-Module : The specified module ‘CimCmdlets’ was not loaded because no valid module file was found in any module directory.

#$Server = “esxiServer1”
#$HostUsername = “root”
#$HostUsername2=Get-Credential
#$CIOpt = New-CimSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck -Encoding Utf8 -UseSsl
#$Session = New-CimSession -Authentication Basic -Credential $HostUsername2 -ComputerName $Ipaddress -port 443 -SessionOption $CIOpt
#$Result = Get-CimInstance -CimSession $Session -ClassName CIM_Chip | where {$_.CreationClassName -eq “OMC_PhysicalMemory” } | Select Caption,DataWidth,FormFactor,MaxMemorySpeed,@{N=”CapacityGB”;E={[math]::Round($_.Capacity/1GB,0)}}

Import-module CimCmdlets

#$HostUsername = “root”
$HostUsername=Get-Credential

$serverlist=get-content -path ServerList.txt
foreach($server in $serverlist)
{
    $CIOpt = New-CimSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck -Encoding Utf8 -UseSsl
    $Session = New-CimSession -Authentication Basic -Credential $HostUsername -ComputerName $server -port 443 -SessionOption $CIOpt
    $Result = Get-CimInstance -CimSession $Session -ClassName CIM_Chip | where {$_.CreationClassName -eq “OMC_PhysicalMemory” } | Select Caption,DataWidth,FormFactor,MaxMemorySpeed,@{N=”CapacityGB”;E={[math]::Round($_.Capacity/1GB,0)}}

    foreach(  in $Result)
    {
        Write-Host $DIMM
    }
}

System Center and Windows 2012 R2 notes

I got a new shiny machine at home with lots of RAM, Disk space and six cores.  This allowed me to setup the following environment

  • Two host machines running windows 2012 R2 with hyper-v
  • 1 domain controller
  • 1 Server running System Center 2012 R2 Orchestrator
  • 1 Server running System Center 2012 R2 operations manager
  • 1 Server running System Center 2012 R2 configuration manager

 

I downloaded the evaluations from MSDN and evaluation center. 

OS
http://technet.microsoft.com/en-us/evalcenter/dn205286.aspx

SCCM
http://technet.microsoft.com/en-US/evalcenter/dn205297

I downloaded Orchestrator and SCOM from MSDN

For the most part, everything installed cleanly.  A few to-do’s I have yet to confirm and figure out

  • Windows firewall being enabled
  • SQL RM0 Error when installing SCCM.  I found the sqlclini.msi was zero byte file.  I downloaded an SCCM 2012 SP1 version.  Once I copied the \server1$AppsSC2012_R2_PREVIEW_SCCM_SCEPSMSSETUPBINX64sqlncli.msi, SCCM installed cleanly. 
  • I’ve also ran into a couple issues where the default gateway wouldn’t set, one on my domain controller.  After I ran route delete 0.0.0.0 and set it manually a couple times, things worked. 

 

I’m in the process of adding SCVMM 2012 R2 to another server.  I have to P2V my one host, which is running windows 2012 w/SP1.  This will allow me to learn the P2V and also update my one host to Server 2012 R2.  I tried to allow live replication between my one host running 2012 SP1 and 2012 R2.  I get an error.  I’m not a VM guru, so this hopefully learn a bit more about SCVMM, App Controller

Other goals…

  • Learn OSD
  • Live Replication
  • P2V
  • SCCM Application module
  • APM management pack

 

Stay tuned for more blog posts.  Oh btw, I’ll be tinkering with IIS 8.5 and the new logging features

Happy Geeking,

Steve Schofield

Microsoft MVP – IIS