Power shell null value

I'm trying to create multiple users at once i create the CSV file and .PS1 file 

when i'm try to execute in powe shell i get this message    (

You cannot call a method on a null-valued expression.
At C:\bin\scripts\addusers.ps1:13 char:13
+ $objUser.Put <<<< ("userPrincipalName",$userPrincipalName)
    + CategoryInfo          : InvalidOperation: (Put:String) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

any one help me

thank you  

August 27th, 2015 2:31am

Can't see your script.

Free Windows Admin Tool Kit Click here and download it now
August 27th, 2015 3:34am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics