I'm sure I borrowed pieces of code from some other people, but these are a couple that I use regularly. Script to get scheduled task domain accounts. Code: Import ...