Showing tag results for Windows PowerShell

Jan 5, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Do I Check Which Version of Windows PowerShell I'm Using?

ScriptingGuy1

  Hey, Scripting Guy! With the release of the Community Technology Preview (CTP) 3 for Windows PowerShell, some of our staff have gone ahead and updated their computers. I am now beginning to worry that I need to check the version of Windows PowerShell that is installed on a computer before I run a script. I have two questions, the first of...

Scripting Guy!Windows PowerShelloperating system
Jan 1, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Copy a File Multiple Times and Give a Unique Name to Each File?

ScriptingGuy1

Hey, Scripting Guy! I have a file that I would like to copy a number of times. This file is basically a template. I have an Excel spreadsheet that contains a list of names that I would like to use for the newly copied files. Can you help me?- PR Hi PR, Sorry, I’m having another music flashback. I am sitting here listening to The Kingston Trio sin...

Scripting Guy!Windows PowerShellstorage
Dec 31, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create File Names Based on Their Time Stamp?

ScriptingGuy1

Hey, Scripting Guy! How can I create a file name from the date? I have this application that creates a log file, and every hour I would like to save that log file as a file whose name is generated from the current time stamp. Can this be done?- RH Hi RH, Ever since I read your e-mail message, I have had this old Rolling Stones tune stuck in my h...

Scripting Guy!Windows PowerShellscripting techniques
Dec 30, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Do I Back Up Files That Have Been Modified in the Last Day?

ScriptingGuy1

Hey, Scripting Guy! I have a USB drive that I use for backup purposes on my computer. Because it appears that Windows Vista does not have a backup program that I can use, I thought it would be useful to write a script using Windows PowerShell to back up the computer. To make things simple, I have all my data in a folder called "data." I only want...

Scripting Guy!Windows PowerShellstorage
Dec 29, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Delete and Manage PDF Files?

ScriptingGuy1

Hey, Scripting Guy! We are implementing a document management system at work, and users are no longer allowed to store PDF files. I need to search a folder for the existence of PDF files. If the folder contains any PDF files, I want to delete them. If on the other hand there are no PDF files in the folder, I would like to create a file called nop...

Scripting Guy!Windows PowerShellstorage