Set DocLink Firewall Rules with PowerShell

 

Here is a simple PowerShell Script that will set the firewall rules for DocLink, in case they don't get set up with the Smart Client installation. You will need to change the path name to the executable as you install different versions.

Remove-NetFirewallRule -DisplayName "altec.remoteclient"
Remove-NetFirewallRule -DisplayName "Altec.DocumentViewer"

"UDP", "TCP" | ForEach-Object { New-NetFirewallRule -DisplayName "altec.remoteclient" -Direction Inbound -Profile Any -Program "C:\program files (x86)\altec\applauncher\3.4.379.0\altec.remoteclient.exe" -Action Allow -Protocol $_ }

"UDP", "TCP" | ForEach-Object { New-NetFirewallRule -DisplayName "Altec.DocumentViewer" -Direction Inbound -Profile Any -Program "C:\program files (x86)\altec\applauncher\3.4.379.0\altec.documentviewer.exe" -Action Allow -Protocol $_ }
Share on Google Plus

About Tom DeMeulenaere

Highly accomplished information technology professional with extensive knowledge in System Center Configuration Manager, Windows Server, SharePoint, and Office 365.
    Blogger Comment

0 comments:

Post a Comment