

No installations or any other software required and you are ready to go.Extract the downloaded zip file and double click “BulkFileChanger.exe” to launch the tool.

Visit the BFC Download page, scroll down and click the link to download the zip file with either the 64 bit or 32 bit version.Step 1: Download and Open the BFC Utility Solution 2: How to Modify File/ Folder Date Attributes Using BulkFileChanger (BFC)īulkFileChanger (BFC) is another free utility that enables you to change created, modified and last accessed timestamps among other attributes of multiple files all at once. The folder will automatically take the new date and time properties.To do so, open the folder / file location and then drag and drop the folder or file over the Change Timestamp window.Once you are done setting the Timestamps on the interface, now you need to apply the changes to your target file or folder.That’s it folks! Catch you on the next one.Current Date Step 3: Applying the New Timestamp to Folder/File Get-WinEvent -LogName System -Ma圎vents 1000 | Where-Object Next is just a matter of filter based on the TimeCreated property and our filterDate object, using for instance Where-Object. Get all event logs from the last weekįirst we need to define a DateTime object that represents our point in time that we want to filter on.Ĭonveniently the DateTime object have a method called AddDays, and by adding negative 7 days to the current date we get the date 7 days ago. So looking at the above output it is clear that it’s the TimeCreated property we need when filtering the event logs. I’m taking advantage of the fact that this cmdlet lets you choose how many events to fetch, and I only need one event to get an idea of how the output looks. I’ll be using the Get-WinEvent cmdlet in the following examples to fetch Windows event logs.įirst I need to examine the output of this command: A common exercise where you might need filtering on date is when reading logs, and in this blog post I will show you how you can perform the typical “ get all logs from the last x days” and “ get all logs between day x and day y” scenarios. When working with large data sets, being able to effectively filter the data is essential. Quick tip: Accessing the Control Panel from PowerShell.Download NuGet packages from PowerShell.Quick tip: ConvertTo-Json and line breaks in strings.Quick tip: Dynamically create and use variables.How to add a progress bar to your PowerShell script.How to reload the PowerShell console session.
