Showing tag results for files

Jun 7, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Create New File

Doctor Scripto

Summary: Create a new file with Windows PowerShell.  How can I use Windows PowerShell to create a new text file that will be empty until I add content?  Use the New-Item cmdlet and specify a path, name, and type, for example: New-Item c:\fso\AnEmptyFile.txt -ItemType file

Scripting Guy!Windows PowerShellPowerTip
Apr 9, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Verify Syntax of Path

Doctor Scripto

Summary: Learn how to use Windows PowerShell to verify the syntax of a path.  How can I use Windows PowerShell to verify that a path that accepts user input is using the correct syntax?  Use the –IsValid parameter of the Test-Path cmdlet, for example: PS C:\> $a = "c:\myfolder\nonexistentfile.txt" PS...

Scripting Guy!Windows PowerShellscripting techniques
Apr 4, 2015
Post comments count0
Post likes count0

Weekend Scripter: Using PowerShell to Look for Documents

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about different approaches to find documents with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. It is a lovely weekend down here in the deep south USA. I am sipping a nice cup of English Breakfast tea with lemon, lime, orange pith, and Hibiscus flower added. I deci...

Scripting Guy!Windows PowerShellscripting techniques
Mar 25, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find Virtual Hard Disks

Doctor Scripto

Summary: Use Windows PowerShell to find virtual hard disks on your system.  I notice that my disk space appears to be disappearing at a rapid rate, and I suspect someone is creating            virtual hard disks (VHDs) and forgetting about them. How can I use Windows PowerShell to find all the      ...

Scripting Guy!Windows PowerShellPowerTip
Mar 25, 2015
Post comments count0
Post likes count0

Use PowerShell to Explore Old Windows VHDs

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to explore old Windows VHDs.  Hey, Scripting Guy! It is time for spring clean-up around our datacenter. I am not talking about chasing out dust bunnies, although that is part of it. What I am talking about is trying to determine what can be safely deleted without...

Scripting Guy!Windows PowerShellscripting techniques