Sie sind auf Seite 1von 2

UEE40111 Certificate IV in Computer Systems

Net Admin Fundamentals 2


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

Lab Name:
LAB04
Business Requirements
Get the free space in percentage

Technical Requirements
Remote testing
Getting information of a client remotely

Algorithm (pseudo code or flowchart)

Get-WmiObject ComputerName partspc Class Win32_Volume `


| ft auto DriveLetter,`
Label,`
@{Label=Free(GB);Expression={{0:N0} F ($_.FreeSpace/1GB)}},`
@{Label=%Free;Expression={{0:P0} F ($_.FreeSpace/$_.Capacity)}}

Invoke-Command ComputerName PartsPC -ScriptBlock {Get-WmiObject ComputerName . Class


Win32_Volume | format-table auto DriveLetter,Label,Capacity,FreeSpace }
Invoke-Command ComputerName PartsPC -ScriptBlock {Get-Process}
Invoke-Command ComputerName PartsPC -ScriptBlock {(get-host).version}
Invoke-Command ComputerName PartsPC -ScriptBlock {Get-EventLog system -Newest 10}
Invoke-command ComputerName PC107,PartsPC ScriptBlock {Get-Date}

Test Case

Expected Result
Success ping

Actual Result
Success
success

Use invote-command to get client info

Retrieve required
info

Signof
Position

Signature

Date

Test-Connection -ComputerName
PC107,PartsPC -Count 3

Name & Student

Page 1 of 2

UEE40111 Certificate IV in Computer Systems


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

Systems
Programmer
(student)
Client
(instructor)

Id
Ahmad HIJAZI

17/09/2015

H201405293
Nathaly Conlan

17/09/2015

Page 2 of 2

Das könnte Ihnen auch gefallen