Jump to content

Powershell Change Forwardimmediatelydialnumber


Ipsos

Recommended Posts

Hi all,

 

I search for a solution. I need a Powershell Script to change the ForwardImmediatelyDialNumber.

This Test Script doesn't run

 

$UserData = Get-IpPbxUser -UserName "IT Hotline"
$userdata.DefaultFwdNum = 5251
Set-IpPbxUserData -UserData $UserData -UserName "IT Hotline"

 

and this doens't Work too

 

(get-IpPbxUserData -UserName "IT Hotline".m_sDefaultForwardImmediatelyDialNumber)

 

Thanks for your help

 

Stefan

Link to comment
Share on other sites


  • Most Valued User

Hello


 


i'm not a Powershell guru but this will work for a user



$ud = get-ippbxuser -Username test
$ud.DefaultFwdNum = 120
$ud.DefaultFwd = 1
Update-IpPbxUser $ud

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.