0% found this document useful (0 votes)
40 views

Lab02 - Script Signoff

This document outlines the requirements and results of a lab on exporting and importing data to text files using PowerShell scripting. The lab aimed to export user data into a CSV and text file, create a PSObject from the exported data, and import data from the text file. The results showed the lab was able to successfully export data to files and import data as expected.

Uploaded by

AhmadHijazi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Lab02 - Script Signoff

This document outlines the requirements and results of a lab on exporting and importing data to text files using PowerShell scripting. The lab aimed to export user data into a CSV and text file, create a PSObject from the exported data, and import data from the text file. The results showed the lab was able to successfully export data to files and import data as expected.

Uploaded by

AhmadHijazi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

UEE40111 Certificate IV in Computer Systems

Net Admin Fundamentals 2


Units: ICANWK403A, ICANWK402A, UEENEED104A, ICANWK409A
Lab Signoff Form Scripting

Lab Name:

LAB02

Business Requirements
Export information into a text document
Technical Requirements
$name = @{ name = Bill; email = [email protected]; address = 22 North Pole; phone = 9
9999999 }
$name | export-csv C:\users\h201405293\desktop\bill.csv
$my_object2 = new-object psobject Property $name
$my_object2
email
phone
name
[email protected]
99999999

-------

address

Bill

22 North Pole

$name | export-csv c:\info.txt

Algorithm (pseudo code or flowchart)


$months
$monthdays
Print out $y. Print out $y * 4. Print out $y + 4. Print out $y.GetType()
$my_object | export-csv c:\obj.txt
$name | export-csv C:\users\h201405293\desktop\bill.txt
import-csv C:\users\h201405293\desktop\bill.txt

Test Case
Export data to *.txt file
Import data from a *txt file

Expected
Result
Create a file
successfully to
a destination
Successfully
import data

Actual Result
Created the file
Data were imported

Page 1 of 2

UEE40111 Certificate IV in Computer Systems


Net Admin Fundamentals 2
Units: ICANWK403A, ICANWK402A, UEENEED104A, ICANWK409A
Lab Signoff Form Scripting

Signof
Position
Systems
Programmer
(student)
Client
(instructor)

Name & Student


Id
Ahmad Hijazi

Signature

Date
11/9/2015

H201405293
Nathaly Conlan

11/09/2015

Page 2 of 2

You might also like