Do not post any licensing information in this forum.
The active directory arraylist table is called $MasterServerList.
The VMware entries are in two variables, $VMServerName and $VMServerNameFQN
Now doing this in plain old powershell cmd window I issue the following command,
$MasterServerList -replace $VMServerName, $VMServerNameFQN
When that command is issued it shows me a listing of the array table with the change, so far so good..
But when I just enter the array name, $MasterServerList the change is no longer present.
First question why is this happening?
How can I use the -replace command without showing me a table listing every time I replace an entry?
At the end of my program I want to dump the arraylist table out to a file.
TIA for your help...
$MasterServerList = $MasterServerList -replace $VMServerName, $VMServerNameFQN
Who is online
Users browsing this forum: No registered users and 3 guests