Hello All,

Hello All,

running the following code in Powershell to add an Element in AF:

Add-AFElement -Name "Test_CHILD_powershell" -AFElement (Get-AFElement -Name "Montreal" -AFDatabase (Get-AFDatabase -Name "AF_startup" -AFServer (Get-AFServer -Name "DESKTOP-56APJ5L")))

 

The code runs, however, when I go back to AF explorer (Pi sys. explorer) I don't see any changes. The code runs successfully the first time, and if you run it a second time it will prompt an error saying that the element already exists.

Somehow it executes in powershell but no changes are seen in AF. What could be the issue? Thanks in advance.

 

Rimon,

Process Analyst, BKOai

Parents Reply Children
No Data