PowerShell Importing Data from Excel

If you want to import Excel data I recommend giving the people who toke the time to develop this module Import-Excel. It can be Read about on the PSGallery here: https://www.powershellgallery.com/packages/ImportExcel/ After reading we will try to find the module using built im module package for powershell : “find-module importexcel” we can pipe this intoContinue reading “PowerShell Importing Data from Excel”

Audit Objects in your Domain(s) using switch statements in PowerShell

I find it important to figure out who and what is in your active directory OUs get-aduser $TargetedUser What about groups, and computers? get-adobject $targetObject this includes users, groups, and computers. here is a switch that will report differently based on object class property that gets returned. get-adobject -filter *| foreach-object{ Switch($_.Objectclass) { User{ write-hostContinue reading “Audit Objects in your Domain(s) using switch statements in PowerShell”