A positional parameter cannot be found that accepts arguement “xxx”
问题 I am trying to understand what this error actually means. So far a search of similar help requests for this error range from missing parameters, missing pipes, use of single or multi lines and also concatenation issues but none of the answers seem to give a definitive reason. So I assume the issue is code format (which makes it a lot harder to track down). This is my script which I am writing to rename active directory users per target OU from whatever format they are now into a firstname