Find label through Power Shell

Find label through Power Shell

Code: 

$packagesDir = 'K:\AOSService\PackagesLocalDirectory\'
$labelFiles = ls $packagesDir\*\*\AxLabelFile\LabelResources\en-US\proj*.txt
$labelFiles | Select-String -Pattern '^(?! ;).*=.*ancel the associated Purchase Order and try again.' | select Line, Filename, LineNumber

Comments

Popular posts from this blog

D365FO – AX – X++ –Refresh, Reread, Research, and ExecuteQuery

Create Inventory Journal through Code in D365FO X++

SalesLine Reservation in D365fo x++