1

Write a #PSTip and win a copy of Packt’s Oracle Database and PowerShell How-to eBook

We are pleased to announce that we have teamed up with Packt Publishing again and are organizing a giveaway especially for you. All you need to do is post your #PSTip draft in the Comments section below this post. Three lucky winners stand a chance to win a free copy of Oracle Database and PowerShell How-to eBook.

oracle-ps_cover Overview of Oracle Database and PowerShell How-to eBook• Load Oracle Data Access components and connect to Oracle databases
• Retrieve, format, filter, and export data
• Execute database procedures and modify database objects
• Build Oracle script libraries and run automated, unattended scripts

How to Enter?
Write a #PSTip and post it in the Comments section below. You don’t need to write a complete blog post, just a draft. You can submit more than one tip. The readers are encouraged to vote for submitted entries and help us pick up the winners. And remember, you could be one of the 3 lucky participants to win the eBook and get published in PowerShell Magazine! Isn’t that brilliant? It doesn’t matter if you post a tip for beginners or a super-advanced tip. Everything counts!

DeadLine: The contest will close on Saturday, April 6, 2013. We’ll announce the winners on Monday, April 8, 2013.

Filed in: Misc Tags: ,

One Response to "Write a #PSTip and win a copy of Packt’s Oracle Database and PowerShell How-to eBook"

  1. DVS says:

    #Access Object properties with other variables.

    $ThingOne = New-Object -TypeName psobject -Property @{‘Thing’=’1′;’Head’=’ O’;’Arms’=’>–|—-|–<';'Torso'=' |||';'Waist'=' —';'Legs'='';'Feet'=' _| |_'}

    $MissingParts = @()

    $Things = @($ThingOne,$ThingTwo)

    Foreach($Thing in $Things){

    $BodyParts = 'Head','Arms','Torso','Waist','Legs','Feet'

    $MissingParts = @{}

    Foreach($Part in $BodyParts){

    #You could do a switch Statement here instead

    #switch ($Part){

    #…

    #}

    if($Thing.$Part -ne ''){$MissingParts[$Part] = $true}

    else{$MissingParts[$Part] = $false}

    }

    $MissingParts['Thing']=$Thing.Thing

    $ThingsMissing += @(New-Object psobject -Property $MissingParts)

    }

    $ThingsMissing

Leave a Reply

Submit Comment

© 2016 PowerShell Magazine. All rights reserved. XHTML / CSS Valid.
Proudly designed by Theme Junkie.
%d bloggers like this: