Deleting Old Folders Programmatically
Hey, Scripting Guy! I need to delete some folders that exist under a root folder based upon how long they have been in existence. I do not need to delete the root folder, only the child folders. What is happening is that our logging routine creates new logs every hour, and creates a new log ...
Troubleshooting the “Object Is Required” Error
Hey, Scripting Guy! I am having a problem with my script. It keeps coming back and saying that an object is required. Why does it do that?
- KA
Hi KA,
"Object required" is very generic. It means that (wait for it) an object is required. It happens when you try to use a method or query...
Troubleshooting a Script That Uses the TrimStart Method
Hey, Scripting Guy! Greetings from an old VBScript guy. I have a problem with a Windows PowerShell script. It returns the unexpected result of "RANSFER" instead of the desired result of "\TRANSFER". One more thing: How can I use the TrimStart method to cut exactly what was given ...