Unable to install PowerShell modules in Windows Server 2016?

Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -ForceError: Install-PackageProvider : Unable to find repository with SourceLocation ''. Use Get-PSRepository to see all available repositories. PS C:\Windows\system32> Get-PSRepository PackageManagement\Get-PackageSource : Unable to find…

Continue ReadingUnable to install PowerShell modules in Windows Server 2016?

Find date and time when dns records were created and modified in Windows Server 2016 and Windows Server 2012 R2

Following one liner will display the dns records with date created and modified: Windows Server 2012 R2:Get-ChildItem "AD:DC=DomainDNSZones,DC=contoso,DC=com" -Recurse | Get-ADObject -Properties Created,Modified | Select-Object Name,Created,Modified | Sort-Object -Property Created…

Continue ReadingFind date and time when dns records were created and modified in Windows Server 2016 and Windows Server 2012 R2