I need to make a written PowerShell script that searches for all computers connected to 192.168.122.0, retrieves a list of shared resources (shared folders, printers, scanners etc) and outputs all of the above to the .csv file. I'm getting an error: Unable to find a default server with Active Directory Web Services running.?
Get-ADComputer -Filter * -Properties IPv4Address | Where-Object {$_.IPv4Address -like "192.168.122.0"}
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)