Search Results for: date

Creating a Folder Named After a Date

I like to create folders on the fly for logging  purposes, as well as for keeping track of re-occurring actions, like scanning for disk usage on a given date. The following PowerShell command is useful for creating a folder with a name in the format YYYYMMDD. $folderName = “folder1_” + (Get-Date -uFormat  “%Y%m%d”) This command makes … Continue reading Creating a Folder Named After a Date

Rate this:

Test Multiple Network Locations with Test-Path

Frequently we relocate a large number of employee home folders in bulk and we need to verify that the move was successful, or we want to test the validity of a large number of network shared folders. This utility does that utilizing the Powershell test-path commandlette. If you want a basic understanding of how the … Continue reading Test Multiple Network Locations with Test-Path

Rate this: