Showing tag results for storage

Sep 22, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Check for the Presence or Absence of a Text File?

ScriptingGuy1

Share this post:   Hey, Scripting Guy! We use text files in special folders to determine if we have performed an operation on a computer. For example, we might install a piece of software on a computer. While it is possible to query the Win32_Product WMI class to determine if the software has been installed or to query the reg...

Scripting Guy!Windows PowerShellstorage
Sep 21, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Clean Up File Names?

ScriptingGuy1

Hey, Scripting Guy! We have a number of files that were manually created by various people in a common folder. Unfortunately, they did not follow a specific naming convention as well as they should, and as a result they do not sort very well. Some people preceded the file names with the word “File,” and others appended their name to the file....

Scripting Guy!Windows PowerShellscripting techniques
Sep 9, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Create New Folders in a Sequentially Numbered Series?

ScriptingGuy1

Share this post: Hey, Scripting Guy! I hate to type numbers. I actually took typing in high school and did really well with it. I was able to type more than 40 words per minute at the end of the class with no errors. I got an A for the class. But, I was horrible at doing numbers. Maybe it was because we did not practice them as of...

Scripting Guy!Windows PowerShellscripting techniques
Sep 8, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Delete All Files from Nested Folders and Subfolders?

ScriptingGuy1

Hey, Scripting Guy! At work we have a series of folders that are used to store files for a month. At the end of the month, we need to delete all of the files that are in the folders and start over. The folder structure is very nested; therefore, I do not want to have to recreate all of the folders, subfolders, and even more subfolders. Becaus...

Scripting Guy!Windows PowerShellstorage
Apr 23, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Work with Directories, Files, and Folders by Using Windows PowerShell?

ScriptingGuy1

Hey, Scripting Guy! This may not sound too exciting, but I do a lot of work with files and folders. I constantly have to create folders and files, move files, and move folders. This was easy to do by using VBScript, but nevertheless it always required at least six lines of code to do anything. Is it possible to simplify this process by using Wind...

Scripting Guy!Windows PowerShellscripting techniques