lørdag den 24. september 2011

SuperOffice Powershell snap in updated

Updated 02-10-2011: Added new command called New-Smart Process. Read more about it here and here. Also made it easier to install as a module instead of PS Snapin
Updated 28-09-2011
: Fixed an error when creating new associates. Fixed a bug in the DSN links created by the snap-in. Added a handful more commands.

I’m starting to use the powershell snap in I created more and found quite a bit of bug’s, spelling errors and needed more commands for my tasks.
Here is a short list of commands

  • Close-SO7Session
    Close down any open connection to SuperOffice and unloads the appdomain
  • Decrypt-SO7H
    Decrypts an 7C: string. Used within superoffice.config to protect database username and password
  • Encrypt-SO7H
    Encrypts an text to an 7C: string. Used within superoffice.config to protect database username and password
  • Get-MySO7Identity
    Return an SO7Associate object representing who you are within the current connection to SuperOffice
  • Get-SO7Associate
    Return one or more SuperOffice Associate
  • Get-SO7config
    Get an empty config object. Used to represent an connection to SuperOffice
  • Get-SO7Credentials
    Get one or more SuperOffice Associate Credentials ( CRM5 / Active Directory / Tickets and so on )
  • Get-SO7Email
    return one or more Email Address from within SuperOffice
  • Get-SO7Person
    return one or more SuperOffice Person objects
  • Get-SO7Secret
    Used for Calculating CRM5 secrets
  • New-SO7Associate
    Create new SuperOffice Associate. Can auto create a Person if needed
  • New-SO7Credentials
    Attach/update credentials for an existing SuperOffice Associate
  • New-SO7Person
    Create new SuperOffice Person
  • Remove-SO7Associate
    Remove one or more SuperOffice Associates
  • Remove-SO7config
    Removes SuperOffice config files and removes DSN links
  • Remove-SO7Credentials
    Remove one or more SuperOffice Credentials
  • Remove-SO7Email
    Remove one or more SuperOffice Email Address
  • Remove-SO7Person
    Remove one or more SuperOffice Persons
  • Save-SO7config
    Save config object as SuperOffice config files ( superoffice.config/superoffice.ini and create DSN link )
  • Set-SO7config
    Set running configuration. (what superoffice database do you want to work with right now ) Will Close any existing connection and unload its appdomain
  • Set-SO7Person
    Update an existing SuperOffice person.

Download here. Compiles fine under both .NET 3.5 and 4.0.

Ingen kommentarer:

Tilføj en kommentar