I am having an issue that I hope someone here can clue me in on. When I try to run the following script it does not work:
The error message is:
The odd thing if I take the contents of $QPath and paste them in place of $QPath it then works.
Any ideas of what I'm doing wrong? All I am trying to do is to get user quotas, user by user.
I'm having some trouble resolving all the quotes.
$QPath = $QPath =
Also doesn't make sense to me. What's the goal there?
$QPath = "D:\DATA\USERS\$User"
Is that sufficient? PowerShell will fill-in variable names inside double quotes. I don't think you need all that concatenating.
You must be logged in to reply to this topic.