- PowerShell Tutorial
- PowerShell - Home
- PowerShell - Overview
- PowerShell - Environment Setup
- PowerShell - Cmdlets
- PowerShell - Files and Folders
- PowerShell - Dates and Timers
- PowerShell - Files I/O
- PowerShell - Advanced Cmdlets
- PowerShell - Scripting
- PowerShell - Special Variables
- PowerShell - Operators
- PowerShell - Looping
- PowerShell - Conditions
- PowerShell - Array
- PowerShell - Hashtables
- PowerShell - Regex
- PowerShell - Backtick
- PowerShell - Brackets
- PowerShell - Alias
- PowerShell Useful Resources
- PowerShell - Quick Guide
- PowerShell - Useful Resources
- PowerShell - Discussion
Powershell - File I/O Operations
Following are the examples of powershell scripts of creating and reading different types of files.
Sr.No. | Operation & Description |
---|---|
1 |
Create Text File
Example Script to show how to create a text file using PowerShell scripts. |
2 |
Read Text File
Example Script to show how to read a text file using PowerShell scripts. |
3 |
Create XML File
Example Script to show how to create a XML file using PowerShell scripts. |
4 |
Read XML File
Example Script to show how to read a XML file using PowerShell scripts. |
5 |
Create CSV File
Example Script to show how to create a CSV file using PowerShell scripts. |
6 |
Read CSV File
Example Script to show how to read a CSV file using PowerShell scripts. |
7 |
Create HTML File
Example Script to show how to create a HTML file using PowerShell scripts. |
8 |
Read HTML File
Example Script to show how to read a HTML file using PowerShell scripts. |
9 |
Erasing file content
Example Script to show how to erase file contents using PowerShell scripts. |
10 |
Append Text Data
Example Script to show how to append text to a file contents using PowerShell scripts. |