Simplest is probably to change this line:
Code:
If $oItem.isfolder



to read:
Code:
If $oItem.isfolder AND Not InStr($oItem.path,"Nethood")



NB, if shortcuts are the problem you may well find them in other folders, so you may want to consider finding a smarter method.