Also, I would like to look for specific folder in Documents and settings folder so I was trying to use:. See what the output is. Excellent scripts, think I'll modify this to make it quick to delete a specific user's old profiles from dozens of Citrix servers.
Harold, this is for what I am using it. Also, I am in a process of creating a script that will pull hanged user profiles from a servers in a farm. To continue this discussion, please ask a new question. Spiceworks Help Desk. The help desk software for IT. Track users' IT needs, easily, and with only the features you need. Learn More ».
Get answers from your peers along with millions of IT pros who visit Spiceworks. Photo credit: xiq-S. PowerShell Best Answer. Bryce Katz This person is a verified professional. Verify your account to enable IT peers to see that you are a professional.
Hello all, I am looking for a script to check for sense. Popular Topics in PowerShell. Spiceworks Help Desk. The help desk software for IT. Track users' IT needs, easily, and with only the features you need. Learn More ». Pure Capsaicin. Neally This person is a verified professional. This parameter checks whether or not an item is older than a specific date.
Sometimes you may fat-finger a key or somehow get some special character in a path; if so, the IsValid parameter is for you.
This parameter confirms whether or not a path is valid only. For example, perhaps you need to verify whether a path is syntactically valid.
When concatenating paths, always use the Join-Path cmdlet. This is just for example purposes only! Microsoft recommends using the Invoke-Command cmdlet and using the Credential parameter there if you want to invoke Test-Path with alternate credentials.
Get this interactive comic book to learn how Veeam and AWS can help you fight ransomware, data sprawl, rising cloud costs, unforeseen data loss and make you a hero! ATA is known for its high-quality written tutorials in the form of blog posts.
Adam the Automator. Twitter Facebook LinkedIn. Table of Contents. Subscribe to Adam the Automator for updates:. Check out all of the ATA recommended resources! Meet Our Sponsors.
0コメント