|
LucInfo -> RE: FPC.Root (8.May2008 6:41:01 AM)
|
Thanks again, … but it still doesn’t works. I receive next error: Error: The system cannot find the file specified The error occurred on object ‘Arrays’ of class ‘Arrays’ in enterprise scope Code: 80070002 Is that because I use the Standard Edition? Remember, when I start the script on the ISA server itself, the script works, so the content rule name is correct and on the remote computer the console is installed. The script completely: Set oFPC = CreateObject("FPC.Root") Set isaArray = ofPC.Arrays.Connect("server", "Administrator", "school", "Test123") Set rules = isaArray.ArrayPolicy.PolicyRules Set oPolicyRule = oFPC.GetContainingArray.ArrayPolicy.PolicyRules.Item("1HA") I have the same error with this script: Dim root Set root= CreateObject ("FPC.Root") Dim isaArray Dim networks Dim network Set isaArray =root.Arrays.connect(server) Set networks =isaArray.Networkconfiguration.networks For Each network In NetWorks WScript.Echo "Network naam:" & network.Name Next Error: The specified service does not exist as an installed service The error occurred on object ‘Arrays’ of class ‘Arrays’ in enterprise
|
|
|
|