Basics with Windows Power Shell by Prometheus MMS - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

BASICS WITH WINDOWS POWERSHELL

INTRODUCTION

1.DATES AND TIMES

1.1 Changing a Computer’s Date and Time

1.2 Listing Date and Time Information

1.3 Performing Date Arithmetic

2. FILES AND FOLDERS

2.1 Creating a New File or Folder

2.2 Deleting a File or Folder (Or Other Type of Object)

2.3 Moving a File or Folder

2.4 Renaming a File or Folder

2.5 Replicating (and Extending) the DIR Command

2.6 Retrieving a Specific Item

2.7 Verifying the Existence of a File or Folder

3. SAVING AND IMPORTING DATA

3.1 Appending Data to a Text File

3.2 Checking for the Existence of a String Value

3.3 Display Data and Save That Data with One Command

3.4 Erasing the Contents of a File

3.5 Saving Data as an HTML File

3.6 Reading a Text File

3.7 Read in a Comma-Separated Values File

3.8 Reading in an XML File

3.9 Saving Data as a Comma-Separated Values File

3.10 Saving Data as an XML File

3.11 Saving Data Directly to a Text File

3.12 Saving Data to a Text File

4. A-Z COMMANDS FOR COMMAND PROMPT