Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

CSV File with shares / volumes and need some help on logic

$
0
0

So, I have a 50K line csv file with shares and volumes list...  

 

Here is the problem.. I need to find the volumes that have no user facing shares, but only have lets say our admin shares.

 

Currently the file looks like this

 

server    share     volume

server1  admin$   vol1

server1 share1   vol1

server2 admin$  vol2

server2 share1 vol2

server2 admin4 vol3

 

 

So, basically it's like 50K lines of this and I need to somehow come up with logic to say, find me all the servers with volumes with only admin shares.... I'm stuck getting out of the gate

 

Can someone give me a kickstart


Viewing all articles
Browse latest Browse all 6937

Trending Articles