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
Search Results for: date
Recently I was asked by my management team to use PowerShell to help with some text searches in a large collection of files, about 15,000 log files generated within our SharePoint system. The SharePoint team was dealing with an issue and needed to capture email address info related to that issue. The text they wanted … Continue reading Regular-Expressions
The work I do for AT&T deals extensively with performing data migrations; moving user and group data from one server to another. To make the data transition easier for the active share users I send emails to them indicating when a share is going to move, and what its new location will be? Q:How do … Continue reading Find Users Actively Connected to a Share
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
Create text to voice utilities with Powershell.