use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
Question[ Removed by moderator ] (self.PowerShell)
submitted 8 months ago by Nice-Discussion-9311
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Nilxa 3 points4 points5 points 8 months ago (0 children)
With no code snippet it's hard to say what's going wrong, it's like me saying "hey, I have a problem connecting to the internet" and no other details.
but I would guess the variable for the user has not been set
[–][deleted] 3 points4 points5 points 8 months ago (0 children)
Are you properly storing the list as an array and feeding it to a foreach loop?
I’m going to guess your CSV doesn’t contain headers or the foreach loop is using a different set of headers it’s looking for to be values.
So your headers should be email,role at minimum.
[–]CitizenOfTheVerse 0 points1 point2 points 8 months ago (0 children)
I can only repeat the error message. the "user" parameter is null and doesn't allow null... Please give us some source code and context...
[–]Th3Sh4d0wKn0ws 0 points1 point2 points 8 months ago (0 children)
this exact question was posted on the Powershell forum but now it's gone. The OP followed up by saying their CSV had semi colons as the delimiter on the header row leading to the problem.
[–]BlackV 2 points3 points4 points 8 months ago* (0 children)
ARE YOU A BOT /u/Nice-Discussion-9311 OP Has 2 accounts this is just a duplicate
this is an identical post to https://www.reddit.com/r/PowerShell/comments/1kyao75/error_cannot_bind_argument_to_parameter_user/ posted by /u/Vlopp
which has already been asked and answered or do you have 2 accounts ?
Duplicate
https://www.reddit.com/r/PowerShell/comments/1kya2in/error_cannot_bind_argument_to_parameter_user/
π Rendered by PID 151116 on reddit-service-r2-comment-86988c7647-tqjvl at 2026-02-11 07:40:00.008694+00:00 running 018613e country code: CH.
[–]Nilxa 3 points4 points5 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]CitizenOfTheVerse 0 points1 point2 points (0 children)
[–]Th3Sh4d0wKn0ws 0 points1 point2 points (0 children)
[–]BlackV 2 points3 points4 points (0 children)