Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

remove/insert computers to excel

$
0
0

I've been working on a script that will fetch information from computers within a domain and also manage it to add new Rows into the excel sheets if the script has found a new computer within the domain. What I would like to do is to be able removing a Row or Rows if a computer does not longer exist in the domain. For example

As I mentioned I've already made the script so it can Add new found computers based on if-statement that looks for indifference in name and adds a new Row for the newfound computer. Doing it reverse has been troublesome.

EXCEL AD-Computers

Comp10Comp10 = True. Do Nothing

Comp20Comp20= True. Do Nothing

Comp29Comp30 = False. Do Something. Remove Excel Row 

Comp30Comp31= Still False obviously.

Anyone has some sort of idea where about I should start trying to do or have a solution to this problem?

I hope I've been clear, if not, tell me so and I'll try to explain myself again.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>