Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Скриптовые языки администрирования Windows (http://forum.oszone.net/forumdisplay.php?f=102)
-   -   VPN Trigger в Windows 10 (http://forum.oszone.net/showthread.php?t=307533)

s.esikov@vk 04-11-2015 16:22 2571562

VPN Trigger в Windows 10
 
Всем привет!

Впервые столкнулся с PowerShell в попытке сделать себе VPN-триггер в Windows 10, чтобы VPN автоматически подключался при обращение к локальному рабочему сайту.
Включил Split Tunneling для нужного подключения и ввожу команду
Код:

Add-VpnConnectionTriggerDnsConfiguration -Name "chics" -DnsSuffix "bis.chics.ru" -DnsIPAddress 80.80.150.1
А в итоге получаю предупреждение и ошибку. И даже не знаю, что делать
Код:


ПРЕДУПРЕЖДЕНИЕ: The suffixes bis.chics.ru will be automatically added to the trusted network detection
list. Any subsequent addition/removal of suffixes from this cmdlet will be reflected in the trusted
network detection list. If you do not want this auto-population, remove the suffixes from the trusted
network detection list by using the cmdlet: Remove-VpnConnectionTriggerTrustedNetwork
Add-VpnConnectionTriggerDnsConfiguration : Сбой при удаленном вызове процедуры.
строка:1 знак:1
+ Add-VpnConnectionTriggerDnsConfiguration -Name "chics" -DnsSuffix "bi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (PS_VpnConnectionTriggerDnsConfiguration:root/Microsoft/...nsConfiguration
  ) [Add-VpnConnectionTriggerDnsConfiguration], CimException
    + FullyQualifiedErrorId : HRESULT 0x800706be,Add-VpnConnectionTriggerDnsConfiguration



Время: 15:11.

Время: 15:11.
© OSzone.net 2001-