Hello everyone,
Kinda new at powershell and haven't had any luck with this error. I have run the same script several times to catch typos and other errors. I've checked other templates but keep getting this error for: "Must provide a value expression on the right-hand side of the '-' operator" and points to the $datasource-
$datasource- import-csv "NEW_ADUser_Form.csv"
$datasource-import-csv "NEW_ADUser_Form.csv"
$datasource- import-csv "\NEW_ADUser_Form.csv"
$datasource-import-csv "\NEW_ADUser_Form.csv"
$datasource=import-csv "NEW_ADUser_Form.csv"
I have tried other variations from templates but can't find a way around it.
Any help is appreciated