Jump to content

Falsches Userbild


Helgomat

Recommended Posts

Hallo. Bei einem Benutzer wird ein falsches Userbild angezeigt.

 

Der User wurde neu angelegt. Bilder wurden zugewiesen über das Script was man hier findet:

 

Quote

Admin Edit: aus Swyx Forum Archiv restauriert
 

Because a question came up in the feature requests, I decided to post this here for all of us to use instead of to that group.

If you want to add pictures for all your users, you could simply create a folder where you put all the pictures. The file names should match the names of your users...
 

$path ='c:\UserPictures\'
foreach($user in get-ippbxuser){
    if(Test-Path($path+$user.name+'.png')){
        Set-IpPbxUserPicture-UserName$user.name-Path($path+$user.name+'.png')
    } else {
        write-host'no image found for user: '$user.name
    }
} 

 

 

Obwohl Username und Bildname übereinstimmen, bleibt bei dem User das falsche Bild. Dieses gehört zu einem anderen User der einen völlig anderen Namen hat.

 

Wenn man das Script ausführt, wird übrigens bei den Usern, die schon ein Bild haben gemeldet, man soll das Overwrite-Parameter verwenden. Leider weiß ich nicht, wie man dieses verwendet.

 

Wer kann helfen?

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.