PowerShell module for 3CX

Discussion in '3CX Phone System - General' started by happy_admin:), Jun 23, 2015.

Thread Status:
Not open for further replies.
  1. happy_admin:)

    Joined:
    May 27, 2015
    Messages:
    3
    Likes Received:
    1
    Hi 3CX'ers,

    Not so long I've created PowerShell module for 3CX.
    It may be very useful for those of you who use PS for everyday work, as an example for user account creation.
    Currently the module contains the following commands:

    Code:
    Add-ExtensionGroupMember, 
    Add-RingGroupMember, 
    Get-DN,
    Get-Extension,
    Get-ExtensionGroup,
    Get-ExtensionGroupMember,
    Get-RingGroup,
    Get-RingGroupMember,
    New-Extension,
    New-ExtensionGroup,
    New-RingGroup,
    Remove-Extension,
    Remove-ExtensionGroup,
    Remove-ExtensionGroupMember,
    Remove-RingGroup,
    Remove-RingGroupMember,
    Set-Extension,
    Set-ExtensionGroup,
    Set-RingGroup
    
    I'm still working on Synopsys for the module, but anyway you can run:
    Code:
    Get-help Command-Name
    to see the list of parameters for a particular command.

    You can download the module from my Dropbox:
    https://goo.gl/MFxJxl

    [HOW TO INSTALL]

    Simply copy the folder 3CXShell to your 3CX server either to the
    $pshome\modules (%Windir%\System32\WindowsPowerShell\v1.0\Modules) - to install for all users
    or
    (%UserProfile%\Documents\WindowsPowerShell\Modules ) - to install it only for your user.
    Then run in PowerShell
    Code:
    import-module 3CXShell -force -verbose
    [ADDITIONAL INFORMATION]

    The module has been developed and tested under Windows Server 2012 r2 and 3CX server 12.5 with a single tenant.
    I'm still working on the development to cover other important management features of the 3CX server including v14 functionality.


    [SUPPORT]

    Please send bug reports and feature requests to "the3cxshell[at]yandex.ru" (without quotes)

    [IMPORTANT NOTICE AND DISCLAIMER]

    The module provided "as is", for free and without any warranties.
    Take some trainings in test environment before use it in the production one.
    Backup your 3cx before use the module.
    You are allowed to use this module for any number of your customers.
    You are NOT allowed to sell the code or it's parts without my approval.


    HAPPY USAGE from happy_admin:) !

    P.S. I'm open for the assistance and donations
     
    uhpadmin likes this.
  2. Lewis Burgess

    Joined:
    Jan 6, 2017
    Messages:
    25
    Likes Received:
    8
    Sorry to dig up an oldish thread but I couldn't find anything newer.

    Just wondering if you've tested this on v15 or if anyone else has something else similar working?

    We have quite a high staff turnover so would like to automate user creation which we already use Powershell for with other systems.

    Thanks.
     
Thread Status:
Not open for further replies.