About

My name is Jonathan Tyler.  I am currently employed by an international transportation products and services company.  My current role is to support the Internet, Extranet and Intranet presence that is running on MOSS 2007.  I have been in this role since January, 2009, and I have learned a lot about how SharePoint works and still learning.

I am very interested in automating a lot of my work.  I have been learning Powershell for a while and as I learn new ideas and skills in Powershell, I hope to document them here for my benefit as well as others.  I welcome comments and suggestions on how to improve my code or looking at things from a different point of view.

I am married to a wonderful woman and we have three beautiful daughters who I love to death.  We live in a small town near Greensboro and High Point, North Carolina.

9 Responses to About

  1. Darby Coquet says:

    Hello Jonathan,

    I was wondering if you were able to provide a bit of assistance with the following powershell function: https://powershellreflections.wordpress.com/2013/05/17/clearing-your-akamai-content-delivery-network-cache-with-powershell/

    • What is your question about that function?

      • Darby Coquet says:

        Hi Jonathan,

        When I run the function with the following;
        Clear-AkamaiCache Invalidate Production email@whatever.com ARL username password http://www.somthing.com/some.file

        I receive the following error;
        Write-Warning : Cannot bind argument to parameter ‘Message’ because it is null.
        At D:\Akamai Cache.ps1:117 char:16
        + Write-Warning $result.resultMsg
        + ~~~~~~~~~~~~~~~~~
        + CategoryInfo : InvalidData: (:) [Write-Warning], ParameterBindingValidationException
        + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.WriteWarningCommand

        Index operation failed; the array index evaluated to null.
        At D:\Akamai Cache.ps1:120 char:34
        + Write-Warning “Problem URL is $($Resource[$result.uriIndex])).”
        + ~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : NullArrayIndex

        WARNING: Problem URL is ).
        PS C:\Windows\System32>

        Thank you in advance.

    • Darby Coquet says:

      I failed to mention that the requests are working as we receive notifaction back, via email, from Akamai, but would like to resolve the error in the powershell function.

      Thanks again

      • I am in the process of moving to a new house in the next couple of days. It may take a couple of days to get to this, but I will do some troubleshooting as I am sure I will need a break from all the moving boxes and such. I will reply, and if necessary, update the script on the site to reflect any changes along with any notes about the change. Thank you for bringing this issue to my attention.

  2. Darby Coquet says:

    Congratulations on the new house!!!!!

    Take your time and thanks again for such prompt responses.

    • I had a few minutes to look at this tonight before bed. I have updated the script and placed an explanation on the original posting about why you were getting the error. My apologies for the error and I hope this script helps you out.

  3. markhudy says:

    v1 of the xboxapi is gone. As a noob, I’m able to get the JSON from v2 using powershell, but so far have been unsuccessful grabbing the xml. Is this still possible?

Leave a reply to Darby Coquet Cancel reply