I am running a simple code in PowerShell but i get the error Cannot index into a null array. I am new in PowerShell, but basically i am traying to delete but first view all records from a big list with specific date. Please Help
$web= Get-SPWeb "http://intranet****"
$listname= "Guideline"
$list= $web.Lists[$listname]
$items= $list.Items | where {$_["Created"] -eq '2/9/2018'}
foreach($item in $items)
{
Write-Host created : $Item["created"]
}