Pau Lo
asked on
active devices and OS
Is there an easy way, perhaps via one of the ad cmdlets, to get a CSV report of all computers in the domain, that have been "in use" in the past 14 days, to include their computer name, and most importantly their operating system. We are trying to determine, how many, or if any, XP devices are still in use within our primary domain.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can do one of two things...
1st
- copy the script
- paste it into Notepad
- save the file as a .PS1 file extension
- open a powershell session
- navigate to where you saved the script
- type .\scriptname.ps1
This will run the script for you.
2nd
- copy the script and paste it into the Powershell ISE
- Run the script from the ISE
Thats it.
Will.
1st
- copy the script
- paste it into Notepad
- save the file as a .PS1 file extension
- open a powershell session
- navigate to where you saved the script
- type .\scriptname.ps1
This will run the script for you.
2nd
- copy the script and paste it into the Powershell ISE
- Run the script from the ISE
Thats it.
Will.
ASKER