Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-02-2007, 07:24 AM
Member
 
Posts: 10
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.

Quote:
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:
Quote:
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
Reply With Quote
  #2 (permalink)  
Old 08-13-2007, 10:48 AM
Member
 
Posts: 10
Default Zimbra staff?

Hi,

Just bumping this thread.

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

Quote:
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
Reply With Quote
  #3 (permalink)  
Old 10-25-2007, 09:18 AM
Junior Member
 
Posts: 8
Default

Just tried this, is there an answer.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.