March 2020

Amazing PowerShell One Liners

Here is a collection of some really cool PowerShell one liners scripts. I find them very useful for day to day system administration tasks. I will keep adding to this list as I learn more useful commands. Get a list of all installed applications on a Windows device This one-liner...

How to audit SharePoint using powershell

Sometimes you need to know what information you have got in your SharePoint solution. I have been asked this numerous times since GDPR was introduced. Get-SPWeb http://your-sharepoint-site | Select -ExpandProperty Lists | Where { $_.GetType().Name -eq “SPDocumentLibrary” -and -not $_.Hidden } | Select -ExpandProperty Items | Group {$_.ParentList.ParentWeb.Url + “/”...

Follow by Email