Showing results for storage - Scripting Blog [archived]

Apr 11, 2016
0
1

How to skip the beginning and ending of a file by using PowerShell

I_am_mr_ed
I_am_mr_ed

Summary: Learn how to skip the beginning and ending portions of a text file by using Windows PowerShell in this article by the Microsoft Scripting Guy Ed Wilson. This is the second post in a multi-part series of blog posts that deal with how to determine letter frequency in text files. To fully understand this post, you should read the entire seri...

Scripting Guy!Windows PowerShellscripting techniques
Mar 31, 2016
0
0

Use PowerShell 5.0 to create temporary files in the temp folder

I_am_mr_ed
I_am_mr_ed

Summary: Microsoft Scripting Guy Ed Wilson talks about using Windows PowerShell 5.0 on Windows 10 to create temporary files in the temporary folder.   Sometimes it is the little things that make life easier. You know, like a cereal bar … it’s not like a major technological breakthrough but it is much more convenient than getting a bowl of mi...

Scripting Guy!Windows PowerShellstorage
Mar 12, 2016
0
0

PowerTip: Use PowerShell to dismount a disk image

Doctor Scripto
Doctor Scripto

Summary:  Learn how to use Windows PowerShell to dismount a virtual disk or ISO.  How can I use Windows PowerShell to dismount a virtual disk?  Use the Dismount-DiskImage cmdlet. It will dismount either an ISO or a virtual hard disk. Specify the path then using -imagepath. Here is an example: Dismount-DiskImage -imagepath “C:\fso\myisodisk.iso”

Scripting Guy!Windows PowerShellPowerTip
Feb 14, 2016
0
0

PowerTip: Flush file system cache by using PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to forcibly write the file system cache to a drive.  How can I use Windows PowerShell to forcibly flush the volume cache by writing it to a drive?  Use the Write-VolumeCache cmdlet and specify the drive letter, for example: Write-VolumeCache c Note  There is no colon following the drive letter.

Scripting Guy!Windows PowerShellPowerTip
Feb 12, 2016
0
0

PowerTip: Use PowerShell to format drive

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to quickly format a drive.  How can I use Windows PowerShell to quickly format a drive?  Use the Format-Volume cmdlet and specify the drive letter, for example: Format-Volume -DriveLetter D

Scripting Guy!Windows PowerShellPowerTip