This is a wrapper function for the SEFAUtil.exe tool from the Lync Resource Kit Tools. It’s intended purpose is to make dealing with the cmdline tool easier.
SYNTAX
.\Invoke-SEFAUtil.ps1 [[-Path] <FileInfo>] [-Server] <String> [-InputObject <Object>] [[-Username] <String[]>] [[-LogFile] <FileInfo>] [-AddTeamMember <String>] [-RemoveTeamMember <String>] [-DelayRingTeam <Int32>] [-DisableTeamCall] [-SimulRingTeam] [-WhatIf] [-Confirm] [<CommonParameters>]
.\Invoke-SEFAUtil.ps1 [[-Path] <FileInfo>] [-Server] <String> [-InputObject <Object>] [[-Username] <String[]>] [[-LogFile] <FileInfo>] [-AddDelegate <String>] [-RemoveDelegate <String>] [-DelayRingDelegates <Int32>] [-FwdToDelegates] [-SimulRingDelegates] [-DisableDelegation] [-WhatIf] [-Confirm] [<CommonParameters>]
.\Invoke-SEFAUtil.ps1 [[-Path] <FileInfo>] [-Server] <String> [-InputObject <Object>] [[-Username] <String[]>] [[-LogFile] <FileInfo>] [-EnableSimulRing <String>] [-DisableSimulRing] [-WhatIf] [-Confirm] [<CommonParameters>]
.\Invoke-SEFAUtil.ps1 [[-Path] <FileInfo>] [-Server] <String> [-InputObject <Object>] [[-Username] <String[]>] [[-LogFile] <FileInfo>] [-EnableFwdNoAnswer <String>] [-EnableFwdImmediate <String>] [-CallAnswerwaitTime <Int32>] [-DisableFwdImmediate] [-DisableFwdNoAnswer] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
The default Value for the Path parameter assumes Lync 2013 Resource Kit Tools are installed at C:\Program Files\Microsoft Lync Server 2013\ResKit
. This function requires version 3 of PowerShell as well as the Lync Module for user validation. Note: Check the related links for a really cool GUI wrapper by MVP Johan Veldhuis.
RELATED LINKS
- Invoke-SEFAUtil – a PowerShell wrapper function
- Updated: Invoke-SEFAUtil
- SefaUtil GUI
- Skype for Business Server 2015 Resource Kit Tools Documentation
EXAMPLE 1
.\Invoke-SEFAUtil.ps1 -Server ly15.tomt.local -Username thomas@tomt.it
This example invokes SEFAUtil without additional parameters, call forwarding settings for the user [email protected] are shown.
EXAMPLE 2
.\Invoke-SEFAUtil.ps1 -Server ly15.tomt.local -Username thomas@tomt.it -EnableSimulRing +391231234567
This example enables Simul Ring for the user [email protected]. The destination number for Simul Ring is +391231234567.
EXAMPLE 3
.\Invoke-SEFAUtil.ps1 -Server ly15.tomt.local -Username thomas@tomt.it -AddTeamMember user10@tomt.it
This example adds [email protected] to [email protected]. This will also enable Simul Ring for the user.
EXAMPLE 4
.\Invoke-SEFAUtil.ps1 -Server ly15.tomt.local -Username thomas@tomt.it -DelayRingTeam 10
This example set’s the delay for Team Calls to 10 seconds for the user [email protected]
EXAMPLE 5
.\Invoke-SEFAUtil.ps1 -Server ly15.tomt.local -Username thomas@tomt.it –DisableTeamCall
This example disables Team Call for [email protected]
EXAMPLE 6
Get-CsUser -OU "OU=users,OU=tomt,DC=tomt,DC=local" | .\Invoke-SEFAUtil.ps1 -Server ly15.tomt.local -Verbose -AddDelegate thomas@tomt.it
This example uses Get-CsUser to get all Lync Users from within the specified Organizational Unit and adds [email protected] as delegate.
Download & Source for Invoke-SEFAUtil
The is available on the PowerShell Gallery, you can install or download it using the following commands:
Install-Script -Name Invoke-SEFAUtil -Scope CurrentUser
Save-Script -Name Invoke-SEFAUtil -Path <Path>
And you can find the source on GitHub: tomtorggler/PowerShell