Jump to content

Namenstasten Automatisiert Importieren


JensP

Recommended Posts

Hallo,


 


gibt es eine Möglichkeit in Swyx 2013  R3 die Möglichkeit über Powershell die Namenstasten über eine Exportdatei automatisiert für alle User zu aktualisieren?


 


Schön wäre ein kleines Codebeispiel da ich nicht fit in Powershell bin.


 


Danke


 


Jens


Link to comment
Share on other sites


  • 7 months later...

Hallo Jens,


 


vielleicht ist das ganze noch aktuell. Im Server 2011 R2 haben wir über eine Excel ein Key File generieren lassen und eine DATA Datei, das Key File für die Clients die DATA für Powershell.


 


Inhalt der Data ungefähr so



set-IpPbxSpeedDialKey $UserData -Idx 200 -Title '-' -Number ''

Das Powershellscript hierzu sieht folgendermaßen aus:


 




Get-IpPbxUser | foreach-object {
$userdata = get-ippbxuserdata $_
$SpeedDialKey = Get-Content .\set-IpPbxSpeedDialKey.data
ForEach ( $AssignKey in $SpeedDialKey ){ 
invoke-expression $AssignKey

set-ippbxuserdata $_ $userData }

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.