Another Petty’s Night: Part 2

With the first night out of the way, night two and night three had been positioned as extra rounds versus going out to eat with $70  budget. The second night’s cooking had focused on seafood from Petty’s Meat Market. This was the scope of new items for night two.

1.  Wild Salmon (8 oz)

After unwrapping, I had applied thin coat of olive oil, salt and garlic powder on the skinless side. This may have seen simplistic and repetitive, but why over-complicate good product.  With medium-high heat on, I had cooked skin side down for 7 minutes. Here was the start of the frying before sealing with a glass cover for moisture.

With the last 3 minutes (10 min. total cooking time), I had flipped the fillet  to cook the skinless side until blackened. The end product was the below. The Salmon was moist and lightly seasoned.

20130728-210550.jpg

2. Slice of Dark Chocolate Godiva Cake

20130728-210557.jpg

At first, I had been looking forward to this dessert; however, it had been too dense and sweet to finish in one sitting. Back to the frig in favor of something different and lighter, perhaps a Zombie baby?

3. Slice of Lemon Mascarpone

20130730-175516.jpg

This cake was light with slight lemon citrus filling and frosting. It was better compliment to the main entree. No Zombie baby needed here! No portion had been seen since this evening.

Reference: Another Petty’s Night: Part 1

PowerShell, Get-Winevent returns a blank column for ‘Message’ property

As part of process to verify event logging across a Windows Infrastructure, came across an odd Powershell query issue. I had hoped to leverage PowerShell to mass convert a folder worth of archived logs (i.e. 1GB/file) into one or more .csv file(s). After fifteen minutes, I had composed a simple query for the conversion:

Get-Winevent -path “c:\logs\*.evtx” | select-object -property TimeCreated, Message | export-csv “C:\garzafx\logs.csv”

Get windows logs from this folder, get “time created” plus “message body”, and export to .csv file to view in Excel.

Initial conversions had been successful. I had scheduled to run the full set of files a few days later. Revisiting this process, the message field had stopped providing data. It had started to return blank column. So between forums I had executed the same query with same log files in the following scenarios:

1. Loaded Windows 2008 R2 and associated patches.

2. Upgraded to Windows Server 2012 from 2008 R2.

3. Clean install of Windows Server 2012, no windows updates.

4. Freshly reimaged system running Windows 7 from Service Desk.

5. Upgraded to Powershell 4.0 beta.

6. Switched to PowerShell –Version 2 switch.

7. Applied US English language 3rd party PowerShell custom script with my query nested.

All actions had resulted in the same blank column for ‘Message’ property. Saving out logs manually had given me the following prompt and hope.

20130729-215253.jpg

However, the originating server had provided the same empty results. Reading a few more blogs, I had read up again on Log Parser Studio 2.0. This application had provided something new, a mix of SQL and Powershell commands.

8. After launching LPS 2.0,  I had selected the folder for my logs (i.e. C:\logs) with this icon  20130729-221138.jpg from the following window.

20130729-215329.jpg

9.   Updated the SELECT statement to use STRING for message property with TOP 10 statement provided by LPS 2.0. The following was successfully returned for ‘Message’ property.

20130729-215337.jpg

10. After dropping the TOP 10 reference,  I had pressed the following 20130729-221129.jpg button to export the T-SQL commands to get a PowerShell script.

20130729-215320.jpg

11. After LPS 2.0 exporting myscripts.ps1, I had executed Set-ExecutionPolicy RemoteSigned at prompt.  Finally, I had been able to  convert .evtx files into .csv files with the ‘Message’ column full. Below was example of the original script. In the end, Log Parser Studio 2.0 was a great find for those looking for another means of generating PowerShell scripts. As for the original query not working, some other bloggers have pushed the notion of a software bug.

Example of output:

Install Log Parser Studio

##################################

# Generated by Log Parser Studio #

##################################

#Name: STRINGS

#Log Type: EVTLOG

#Generated: 7/25/2013 7:14:54 AM

Param

(

[parameter(Mandatory=$false,ValueFromPipeline=$true)]

[Bool]$AutoOpen,

[parameter(Mandatory=$false,ValueFromPipeline=$true)]

[String]$OutFile,

[parameter(Mandatory=$false,ValueFromPipeline=$true)]

[Bool]$IgnoreInParams,

[parameter(Mandatory=$false,ValueFromPipeline=$true)]

[Bool]$IgnoreOutParams)

$Error

.Clear()

$DefaultFolder

=[Environment]::GetFolderPath(“MyDocuments”)

$Destination

=“myeventlog.csv”

$Destination

=$DefaultFolder+“\”+$Destination

if

($OutFile-ne[String]::Empty)

{

$OutFileType=[System.IO.Path]::GetExtension($OutFile.ToUpper())

$OriginalFileType=[System.IO.Path]::GetExtension($Destination.ToUpper())

if($OutFileType-ne$OriginalFileType)

{

Write-Host“You have chosen”$OutFileType“as the output, but this script was originally generated as”$OriginalFileType-ForegroundColorRed

Write-Host“Either change -OutFile to”$OriginalFileType“or generate the script again with the output as”$OutFileType-ForegroundColorRed

Write-Host“You can also modify the OutputFormat variable in this script to match the correct Log Parser 2.2 COM output format.”-ForegroundColorRed

[System.Environment]::NewLine

return

}

else

{

if($true-ne$OutFile.Contains(“\”))

{

$Destination=$DefaultFolder+“\”+$OutFile

}

else

{

$Destination=$OutFile

}

}

}

$LogQuery

=New-Object-ComObject“MSUtil.LogQuery”

$InputFormat

=New-Object-ComObject“MSUtil.LogQuery.EventLogInputFormat”

$OutputFormat

=New-Object-ComObject“MSUtil.LogQuery.CSVOutputFormat”

if

($IgnoreInParams-eq$false){

$InputFormat.fullText=1

$InputFormat.resolveSIDs=0

$InputFormat.formatMsg=1

$InputFormat.msgErrorMode=“MSG”

$InputFormat.fullEventCode=0

$InputFormat.direction=“FW”

$InputFormat.stringsSep=“|”

$InputFormat.binaryFormat=“PRINT”

$InputFormat.ignoreMessageErrors=1

}

if

($IgnoreOutParams-eq$false){

$OutputFormat.Headers=“AUTO”

$OutputFormat.oDQuotes=“AUTO”

$OutputFormat.tabs=“OFF”

$OutputFormat.oTsFormat=“yyyy-MM-dd hh:mm:ss”

$OutputFormat.oCodepage=0

$OutputFormat.fileMode=1

}

Write-Progress

-Activity“Executing query, please wait…”-Status” “

$SQLQuery

=“SELECT TimeGenerated,Strings INTO ‘”+$Destination+“‘ FROM ‘C:\garzafx\myeventlog.evtx'”

$rtnVal

=$LogQuery.ExecuteBatch($SQLQuery,$InputFormat,$OutputFormat);

$OutputFormat

=$null;

$InputFormat

=$null;

$LogQuery

=$null;

if

($AutoOpen)

{

try

{

Start-Process($Destination)

}

catch

{

Write-Host$_.Exception.Message -ForegroundColorRed

Write-Host$_.Exception.GetType().FullName -ForegroundColorRed

Write-Host“NOTE: No output file will be created if the query returned zero records!”-ForegroundColorGray

}

}

For more information on:

a. Log Parser Studio 2.0

b. Get-Winevent  (TechNet)

c. select-object  (TechNet)

d. Set-ExecutionPolicy RemoteSigned (TechNet)

Another Petty’s Night: Part 1

The value this go around from Petty’s Meat Market was three evenings worth of quality dinners and dessert, price tag: $70.00.

Here are master shots of the main entrees and desserts.

20130727-225220.jpg

20130727-225009.jpg

Night one was composed of the following food:

1) New York Strip  (8 oz.) that had been pre-marinated. This was divided into two (4 oz.) portions with coating of Olive Oil, Sea Salt and Garlic Powder. Both portions were cooked on medium-high heat for 10 minutes.

20130727-225305.jpg

2) Dry Sea Scallops (4 total) were seasoned again with Olive Oil, Sea Salt and Garlic Powder on medium-high heat for 10 minutes.

20130727-225244.jpg

3) Twice Baked Potatoes (2 portions) brushed with Olive Oil were heated at 350 degrees for 20 minutes.

20130727-225315.jpg

This had produced two plates of food which left leftovers for the following day.

20130727-225444.jpg

4. Served on the side was pint of Sierra Nevada Torpedo IPA (Indian Pale Ale). The pint was more than enough for two cold glasses. This ale was a nice accompaniment to the scallops and strip. However, I have been a bit bias toward the Sierra Nevada brand since a road trip to Boston, MA in 1995.

20130727-225544.jpg

Following dinner on night one were these two desserts;

5) Berry Burlee (1 portion) was served as-is. It was not overly tart but, just enough blend of sweet and creamy.

20130727-225122.jpg

6) Following the above had been a Lobster Tail Pastry. This was over indulgent piece of pastry loaded with cream. Perhaps had it been on its own, it might have been more enjoyable. The Berry Burlee was superior in texture and taste.

20130727-225137.jpg

More Information: Petty’s Meat Market, Longwood, FL

Healing Water: Part 1

When dealing with overheated feet from a cardio routine, muscle stiffness or just relaxing to go to bed, soaking my feet or body for 30 minutes or more to the point of pruning has been an effective fix. The first experience with Epsom Salt was after surgery. After spending a week in hospital, my feet had become dried out and nasty. Upon leaving Florida Hospital Orlando, a nurse had suggested soaking in Epsom salt to remove dead skin. On the trip home I had packed my plastic bed pan to apply this remedy. After 30 minutes and pruning, I had been able to start the process of removing all the cracked skin. After the fact I had also had learned Epsom Salts’ other benefits:

a) draws toxins out of your body
b) remedy for bruises, sprains, and sore muscles
c) ingestion orally as a laxative

20130727-202214.jpg

CVS, Walgreen’s or Walmart all have generic and name brand versions of Epsom Salts. Currently, I have been rotating between generic from Walgreen’s ($2.50) and Dr. Teals with Spearmint and Eucalyptus ($5.00). The Spearmint and Eucalyptus were supposed to be calming aromatics. To that end, I have a preference for the generic stuff  versus Dr. Teal’s oily film.

20130727-202241.jpg

20130727-202228.jpg

So lets get down to the process.

1. Fill your pan or bath with warm or hot water.

20130727-202255.jpg

2. Measure out 2 cups of Epsom Salt per gallon of water.

20130727-202306.jpg

3. Pour In

4. Insert your body or feet for 30 minutes or more, look for pruning skin. The 30 minutes and pruning has been a good measurement for maximum effect.

20130727-202717.jpg

As always consult a medical profession before usage as there maybe unintended consequences with drug interactions and/or those with diabetes.

More on my comments on Magnesium: The 12th Element, Magnesium

PowerShell, cleanup full access permissions on Microsoft Exchange mailboxes

Periodically, it has been necessary to cleanup mailbox permissions across a Microsoft Exchange server or Exchange organization. Sometimes other IT administrators, myself included, have forgotten to remove self-applied permissions in the heat of providing employee support.  Two tasks that have helped, an inventory of existing full access and selective bulk removal.

A. Inventory all the mailboxes with accounts with full permissions.

This will provide an export in CSV format to sort against for review.

1. Launch Exchange Management Shell as administrator with appropriate Exchange Organizational or Exchanger Server permissions.

2. Create localized folder for exports (i.e. C:\garzafx\).

3.  Export all full mailbox permissions to mailbox to Excel CSV file as follows:

Get-Mailbox -Server “myemailserver” | Get-MailboxPermission | export-csv c:\garzafx\

NOTE: If you haven’t already created your own folder for exports on your system, please do so to avoid any inadvertent errors.

B. Selective account removal

Now that you have your variables to search against, you can create a get-contents script or just keep it simple with the following:

4. Get-Mailbox | Remove-MailboxPermission -AccessRights FullAccess -user “weyland\ellen.ripley”

IMPORTANT: For Send-As permissions will have to had employed Get-AdPermission

exchange

More Information On Exchange: http://www.msexchange.org/

More on PowerShell: http://blogs.technet.com/b/heyscriptingguy/

Audubon Center for Birds of Prey, Maitland, FL

“Strength comes from providing those without.”

In central Florida with plenty of indoor and outdoor entertainment options, we have forgotten the unique perspective into natural beauty that lies right around the corner. The Audubon Center has provided support facility to injured or otherwise helpless birds from Ospreys, Eagles, Owls and even the maligned Turkey Buzzard. The goal of facility has been to bring this wildlife back to the point of release into the wild. Under threat of rain, the property was quite accessible and easy to navigate. For $5 donation per person, it had offered several open area cages including a staging house. In the staging house, several birds were within arm’s reach.

Having had wrist surgery over a year back, it was remarkable to see an Eagle manage without an eye. This bird was going to manage for food without it. Remarkable, it was going to be true survival versus faux conflict. In that perspective, it was a reminder how easy humans have it.

The Bird of Prey facility was easily located off I-4 and Lee Road between Maitland, FL and historic Eatonville just off Wymore and Kennedy.

20130725-194330.jpg

20130725-192456.jpg

20130725-194249.jpg

20130725-192333.jpg

More Info: Audubon Center for Birds of Prey

Phone: 407-644-0190

Art and music from the film Pacific Rim

Part of Pacific Rim’s spectacle had been the pounding string and guitar work from the soundtrack. The majestic walk of the Jaegers’ had seemed to match the tempo quite effectively. These specific tracks had driven my purchase for the gym:

61mOhgOhSvL__SL500_AA280_

1. Pacific Rim (feat. Tom Morello)

2. Gipsy Danger

3. Canceling The Apocalypse

4. Jaeger Tech (feat. Tom Morello)

5. Physical Compatibility

6. Go Big Or Go Extinct (feat. Tom Morello)

51Zbb00DYxL__SL500_AA280_

7.  Passages (From “Pacific Rim Trailer 2013”)

Soundtrack for Pacific Rim available: Amazon, ITunes

Music from trailer Passages (From “Pacific Rim Trailer 2013”) by Evolve available: Amazon

pacific-rim-concept-art

Artwork in hardcover available: Pacific Rim: Man, Machines, and Monsters (Amazon)

Fan artwork available: Get ready to rumble with 15 ferocious Pacific Rim fan art posters (Blastr)

More information on soundtrack: Tom Morello Marches With Ramin Djawadi on ‘Pacific Rim’ – Song Premiere (Rolling Stone)

GarzaFX: Review: Pacific Rim