Topics

PowerShell File

About this topic: Articles tagged __TAG__

Showing 29 articles

Topics

Articles

Showing 29 articles

How-tos How to Edit a Text File on the Console Using PowerShell This tutorial will teach you how to edit a text file on the PowerShell console using various methods. Learn to use commands like Set-Content, Add-Content, and Out-File to … How-tos How to Split Large File in PowerShell Learn how to split large files in PowerShell with easy-to-follow methods. This article covers practical PowerShell scripts and Git LFS for efficient file management. Enhance your … How-tos How to Read CSV File Line by Line in PowerShell This article explains how to read CSV files line by line in PowerShell. Discover various methods, including Import-Csv, Get-Content, and StreamReader, to efficiently loop through … How-tos How to Create Text File Using Windows PowerShell This tutorial will teach you to create new text file through Windows PowerShell. How-tos How to Get Full Path of the Files in PowerShell This tutorial will teach you to get full path of the files in PowerShell. How-tos How to Get the File Extension Using PowerShell This article will discuss several methods to get the file extension using PowerShell scripting. This article provides multiple techniques and examples as well. How-tos How to Remove Path and Extension From Filename in PowerShell This tutorial will introduce different methods to remove path and extension from filename in PowerShell. How-tos How to Store Text File Contents in Variable Using PowerShell This tutorial will teach you to store entire text file contents in variable in PowerShell. How-tos How to Get File Size in KB Using PowerShell This tutorial will teach you to get the size of the file in KB using PowerShell. How-tos How to Concatenate Files Using PowerShell This tutorial will teach you to concatenate files using PowerShell. How-tos How to Check if a File Exists in Windows PowerShell This tutorial will teach you to check if a file exists or not in Windows PowerShell. How-tos How to Read Files Line by Line in Windows PowerShell This article will show you ways on how to read files line by line in Windows PowerShell. This will avoid crashes and freezing of your scripting environment when reading very large … How-tos How to Filter Files and Folders Using PowerShell This article will discuss the PowerShell Get-ChildItem cmdlet that we will use to get all items inside the directory and utilize its filter switch parameters. How-tos How to Redirect a PowerShell Output to a File During Execution This tutorial will teach you to redirect the output of a PowerShell to a file during its execution. How-tos How to Compress and Unzip Files Using PowerShell This article will discuss what PowerShell commands to be used in archiving and unzipping compressed files. How-tos How to Upload Files With FTP in PowerShell This tutorial will teach you to upload files with FTP in PowerShell. How-tos How to Append Data to File Using PowerShell This article will discuss how the PowerShell Add-Content cmdlet works with different examples that appends content to file. How-tos How to Get File Version in PowerShell This tutorial will teach you to get file version in PowerShell. How-tos How to Delete Files Older Than X Days Using PowerShell This tutorial will teach you to delete files older than X days using PowerShell How-tos How to Move Files and Folders Using PowerShell This article will discuss several essential cmdlets when moving files and directories using PowerShell scripting for bulk remediation. How-tos How to Query for File's Last Write Time in PowerShell This article will discuss how to fetch the properties of a file, query for its last write time, and perform additional commands to get its date different from the current date. How-tos How to Extract the Filename From a Path Using PowerShell This tutorial will teach you how to extract the filename from a path using PowerShell. How-tos How to Find Files With Extension in PowerShell This tutorial demonstrates how to find files with extension in PowerShell. How-tos How to Remove-Item if File Exists in PowerShell This article will discuss how to copy files in bulk and check if the file is existing in the destination folder, and remove them, using PowerShell.

← All topics