Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 625 Bytes

Lab4.md

File metadata and controls

16 lines (15 loc) · 625 Bytes

Modify your computer info function from yesterday to

1) Modify to accept computername as arguments
	Use a foreach loop to run against mulitple computers
2) accept multiple computernames
	yourserver, localhost
3) Using Invoke-Command
	Retun to the screen all services that being with the letter "S"
	Return to the screen top 5 processes
		Top 5 by CPU Usage
4) Using Sessions return the status of BITS
5) Write a funtion to Check BITS service, check status. Flip the status. Then put it back
	Run function using pssession

5a) test if file exists c:\somewhere
	if it doesn't make it. 
	If it does delete it.