Results 1 to 3 of 3

Thread: Unable to get PowerShell Zimlet to work ....

  1. #1
    Join Date
    Jun 2007
    Posts
    10
    Rep Power
    8

    Unhappy Unable to get PowerShell Zimlet to work ....

    Hi,

    I was really impressed to see that Zimbra had a PS Zimlet. Scanning the file it looks like a lot of effort has gone into it's creation.

    I was quite surprised then to find that it doesn't seem to work!?!?!

    Here are my observations:
    1) Readme.txt describes how to get things up and running, but the process it details is wrong.

    Generate the master script file
    PS> .\Build-ZimbraPowerShell.ps1
    No file called build-zimbrapowershell.ps1 file included in zip file.

    The file used is: ZimbraPowerShell.ps1

    2) The top of the file has a few lines used to describe the script. However it's implemented using a comment block. This isn't supported in Powershell. You need to use "#" instead.

    After commenting out the top of the script. I got a little further.

    3) The function Create-Session throws the following error:
    Cannot overwrite variable isAdmin because it is read-only or constant.

    At line:1 char:1

    + C <<<< reate-Session -?
    As you need to create the session before going any further, this apepars to be a bit of a show stopper.

    From what I can tell the Zimlet appears to be written by Zimbra, so I'm hoping that someone can shed some light on this.

    I'm really impressed with the product to date. I'm running the OpenSource version, having moved from a 7 year old rock-solid install of Qmail.

    Cheers

    Adam

  2. #2
    Join Date
    Jun 2007
    Posts
    10
    Rep Power
    8

    Default Zimbra staff?

    Hi,

    Just bumping this thread.

    Surprised no one from Zimbra has commented as this zimlet originates from Zimbra:

    The Original Code is: ZimbraPowerShell
    *
    * The Initial Developer of the Original Code is Zimbra, Inc.
    * Portions created by Zimbra are Copyright (C) 2006 Zimbra, Inc.
    * All Rights Reserved.
    *
    * Contributor(s):
    *
    * ***** END LICENSE BLOCK *****
    */
    # ---------------------------------------------------------------------
    # Author: Sam Khavari
    Can anyone at Zimbra shed some light here? I'd love to get this working and spread the good word

    Cheers

    Adam

  3. #3
    Join Date
    Oct 2007
    Location
    Czech Republic
    Posts
    8
    Rep Power
    8

    Default

    Just tried this, is there an answer.

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Replies: 5
    Last Post: 01-11-2008, 05:34 AM
  3. Replies: 13
    Last Post: 07-20-2007, 04:21 AM
  4. Domain Admin Error: Permission Denied
    By shanson in forum Administrators
    Replies: 3
    Last Post: 05-29-2007, 06:48 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •