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 “ ” 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

Adventure with OEM desktop pre-staged win 8

Oh the stories I could talk about regarding win 8 pre-loaded on a OEM box.  A few weeks back I picked up a nice desktop (refurb) for under $500.  It’s a 1.5 TB HD, 10 GB ram, 6 core processor.  Besides this being an awesome box with lots of goodies, I can’t believe the price.  Anywho, the reason I like to have such a decent box is play with software, usually the latest and greatest. Any geek usually has a little rouge setup in their house to test things like beta releases or do other crazy stuff they can’t or won’t do in a hosting or enterprise setting. 

When my box arrived, I was pretty geeked.  Being a lifelong server based IT geek, the first thing was to get rid of win8…..or so I thought.  I popped the disk into the drive, booted up, and I got this error….”

“The product key entered does not match any of the Windows images available for installation. Enter a different product key”

I’ve been out of the server OS build business a while, so I searched around and found on new win8 OEM boxes, the license key is embedded to the firmware…smart I’d say.  The down side, there is a particular order checking for the license key.  In my case, using a DVD was something I’ve done in the past on other machines.  Guess, MS wanted to make it a little harder.  Who knows! 

The end result I packed the machine up and set on the shelf for three weeks while I traveled.  It seemed to come down to the point I needed to build an unattended install to get my Server OS to boot to the DVD and look for the license key, bypassing the BIOS lookup.  The unattended install could use DISM or imageX.  Being rusty at building an unattended install, all I wanted to do was load a server OS like I’ve done in the past using a DVD.  I guess this machine wasn’t meant for win 2012 RTM. 

Windows Server 2012 R2 to the rescue, I think.  The Beta version came out when I got back from traveling, I downloaded the iso and was able to get past the activation error.  I went through the BIOS and made sure the legacy boot was enabled, secure boot was disabled.  then I was able to install.  There was some other option in the bios about enter keys.  All I know, if this had not of worked, a flavor of linux would have went on there along with virtual box  or some other virtual hypervisor.   MS, I hope you don’t continue to make things harder for a long time follower.  Luckily, IIS 8.5 had some new features I wanted to try out!  I guess this is a bit of a rant, but overall, the machine is online and I can start to use it.

Cheers and happy geeking!

Steve Schofield
Microsoft MVP – IIS