Hi All,
I have a sharepoint column with Number Type
When i run the PS script to groupby this number number the count comeback as empty
$web = Get-SPWeb -Identity "http://url/"
$list = $web.Lists["ListName"]
$colname="Col Name"
$AllDuplicateNames = $list.Items.GetDataTable() | Group-Object $colname | ?{$_.count -gt 1} | %{$_.Title}
write-host $AllDuplicateNames.Count
but when i create a calculated column based on this column , i get back the result. What could be the reason ?
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "
Mark As Answer