- PowerShell - Discussion
- PowerShell - Useful Resources
- PowerShell - Quick Guide
- PowerShell - Alias
- PowerShell - Brackets
- PowerShell - Backtick
- PowerShell - Regex
- PowerShell - Hashtables
- PowerShell - Array
- PowerShell - Conditions
- PowerShell - Looping
- PowerShell - Operators
- PowerShell - Special Variables
- PowerShell - Scripting
- PowerShell - Advanced Cmdlets
- PowerShell - Files I/O
- PowerShell - Dates and Timers
- PowerShell - Files and Folders
- PowerShell - Cmdlets
- PowerShell - Environment Setup
- PowerShell - Overview
- PowerShell - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
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 |
Example Script to show how to create a text file using PowerShell scripts. |
2 |
Example Script to show how to read a text file using PowerShell scripts. |
3 |
Example Script to show how to create a XML file using PowerShell scripts. |
4 |
Example Script to show how to read a XML file using PowerShell scripts. |
5 |
Example Script to show how to create a CSV file using PowerShell scripts. |
6 |
Example Script to show how to read a CSV file using PowerShell scripts. |
7 |
Example Script to show how to create a HTML file using PowerShell scripts. |
8 |
Example Script to show how to read a HTML file using PowerShell scripts. |
9 |
Example Script to show how to erase file contents using PowerShell scripts. |
10 |
Example Script to show how to append text to a file contents using PowerShell scripts. |