I have a string like this, retrieved from a txt file:
$txtindex = 5 $PRINTERNAME = get-content $txtPrinterfile | select -Index $txtindex $PRINTERNAME = $PRINT