Setting Barcode Rules - BE 2012
Published 13 years ago
Version 1.0Was this article helpful?
Working another case and I could not find a way to edit the existing rule. I had to delete it and readd it to get it configured the way I wanted. Once again, it was the asterisk * after LTO 4 that allowed the command to succeed.
To delete an existing barcode rule, first get the rule you want to edit, then pipe it to remove-bebarcoderule.
GET-BEBarcodeRule -barcodeprefix 0011 | Remove-BEBarcodeRule
Next add the rule back in with the desired settings:
New-BEBarCodeRule -mediatype "LTO4*" -vendor "HP" -barcodeprefix "0011" -barcodesuffix "L4"