Showing tag results for WMI

Sep 19, 2006
Post comments count0
Post likes count0

How Can I Locate All the Folders That Have ArchiveASN in the Path?

ScriptingGuy1

Hey, Scripting Guy! How can I locate all the folders on a computer that have \Archive\ASN\ somewhere in the path?-- AB Hey, AB. We hope this message finds you well. Perhaps you are surprised to hear from us like this; a mutual friend provided us with your name and assured us that you were a responsible and trustworthy person. Recently we Script...

Scripting Guy!scripting techniquesVBScript
Aug 30, 2006
Post comments count0
Post likes count0

How Can I Use Windows PowerShell to Locate All the .WMA Files on My Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I use Windows PowerShell to locate all the .wma files on my computer?-- LC Hey, LC. Harry Potter. Hogwarts. Ron Weasley. Dumbledore. Quiddich. What’s all that about? Oh, nothing: just a few words that idly floated through the head of the Scripting Guy who writes this column. And before you ask, no, those words are not...

Scripting Guy!Windows PowerShellscripting techniques
Aug 23, 2006
Post comments count0
Post likes count0

How Can I Use Windows PowerShell to Determine the Status of the Guest Account?

ScriptingGuy1

Hey, Scripting Guy! How can I use Windows PowerShell to determine whether or not the Guest account has been disabled on a computer?-- RB Hey, RB. You know, last week at this time the Scripting Guy who writes this column was on vacation, a vacation spent primarily sitting outside in the sun, only occasionally getting up to watch TV. During that we...

Scripting Guy!Windows PowerShellscripting techniques
Jul 19, 2006
Post comments count0
Post likes count0

How Can I Set the Default Printer Based on the IP Address of the Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I set the default printer based on the IP address of the computer?-- TT Hey, TT. You’ll have to forgive us for being a little distracted this morning. Last night the Scripting Guy who writes this column went to the gym with his 16-year-old son. For the first time ever, the Scripting Son was able to bench press more th...

Scripting Guy!scripting techniquesVBScript
Jul 17, 2006
Post comments count0
Post likes count0

How Can I Get the Names of 10 Randomly-Selected Files in a Folder?

ScriptingGuy1

Hey, Scripting Guy! How can I get the names of 10 randomly-selected files in a folder? I need to do that so I can test and verify our backup and restore policies.-- CS Hey, CS. You know, if you’re interested in things that are random, haphazard, arbitrary, or downright chaotic, well, you came to the right place. For example, any time we Scriptin...

Scripting Guy!scripting techniquesVBScript