HI there,
This is the script i'm trying to run so I can update mulitple user's company attribute:
import=import-csvc:\import.csv
foreach($userin$import)
{
$Name=$user.name
$Company = $user.company
set-qaduser $Name –company $Company
}
but when i do i receive this error:
C:\files\Company.ps1 cannot be loaded because its operation is blocked by software restriction policies .
I've set my execution policy to remotesigned but still no luck. Any advice would be helpful to get this script to run correctly :-D
- berto