Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

PowerShell Errors

$
0
0

Im running a script to export a list of users in a AD Group.

Text
Import-Module ActiveDirectoryGet-ADGroupMember -identity “Domain Admins” | select name | Export-csv -path C:\ Domain Admins.csv -NoTypeInformation

Here are the results:

Export-Csv : Cannot bind parameter 'Delimiter'. Cannot convert value "Domain" to type "System.Char". Error:

Text
t be exactly one character long."At line:1 char:71+ Get-ADGroupMember -identity "Domain Admins" | select name | Export-csv <<<< -path C:\ Domain Admins.csv -mation+ CategoryInfo : InvalidArgument: (:) [Export-Csv], ParameterBindingException+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.ExportCsvCommand

Any help here? I am new to PS scripts.


Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images