Category 4
Category 2
Category 1
Category 3
100

Open three websites(tabs) on Google Chrome at the same time

(Time-Limit:1:00)

Start-PRocess chrome "amazon.com","wish.com", "YouTube.com"

100

How to get the number of counts of Commands stored on your Powershell version?

(Time-Limit: 1:00)

(Get-Command).count

100

Script to open up a blank "NotePad" file

(Time-Limit: 1:00)

Notepad

OR

Start-Process -FilePath "NotePad" -WindowStyle Maximized 

OR 

Start-Process -FilePath "NotePad" -WindowStyle Max

100

What script you use to save, all the work you have done, something you are supposed to do Before you start writing scripts?

(Time-Limit: 1:00)

Start-Transcript

200

Change today's date 3Days ahead

(TimeLimit:1:00)


(Get-Date).AddDays(3)

200

Change your PS: C\ Location

(Time-Limit: 1:00)

PS C:\WINDOWS\system32> Set-Location -Path C:\scripts


PS C:\scripts>

200

Open up a .txt file


(Time-Limit: 2:00)

Start-Process -FilePath "FileName.txt" -WorkingDirectory "C:\Location" -verb open

OR

Start-Process C:\Location\FileName.txt

OR

notepad C:\Location\FileName.txt

OR

C:\Location\FileName.txt

200

What command do you use to get the trail of commands you did so far?

(Time-Limit: 1:00)

Get-History

300

Change the clock hours five ahead

(TimeLimit:1:00)

(Get-Date).AddHours(5)

300

In PowerShell, placing a $ dollar sign in front of a word (or a series of characters) does what?

(Time-Limit: 1:00)

 Denotes that the word is a variable.

For example, I wanted to assign a name to a variable, I might use a command like this: $Name = 'Sam' Similarly, PowerShell allows you to map an entire command string to a variable.

300

How do you view PS Version, PS Edition, PS Compatible Versions, Build Version, CLR Version, WS Man Stack Version, PS Remoting Protocol Version, Serialization Version? All at once

(Time-Limit: 1:00)

$PSVERSIONTABLE

300

Get today's date

(Time-Limit: 1:00)

Date

OR

Get-Date

OR

Get-Content -Path .\DateTime.txt

400

Change the clock hours 2 behind

(TimeLimit:1:00)

(Get-Date).AddHours(-2)

400

How to get just the running service status for 

'Get-Service' 

& Open on the notepad file

(Time-Limit: 4:00)

Get-Service| Where-Object status -eq 'running'|Select-Object name,status

$data = Get-Service| Where-Object status -eq 'running'|Select-Object name,status

$data |out-file .\runningService.csv 

notepad .\runningService.csv

400

Script: To run Powershell as an Admin within Powershell

(Time-Limit: 1:00)

Start-Process -FilePath "PowerShell" -verb RunAs"

OR

Start "PowerShell" -verb Runas

400

A command that shows you all the Commands names that start with the letter 'p'

(Time-Limit: 1:00)

Get-Command p*

500

Change the Date two months behind

(TimeLimit:1:00)

(Get-Date).AddMonth(-2)

500

Make a text display from a file onto your Admin Window PowerShell

(Time-Limit: 2:00)

 Get-Content C:\FileLocation\FileName.txt

Example:

 Get-Content C:\Users\Owner\Documents\Fruit\Favorite.txt

Out-put:

"Kiwi"

500

Copying a file to Desktop?

(Time-Limit: 3:00)

Copy-item -Path C:\Location\FileName.txt                  -Destination C:\Users\Desktop

Example:

Copy-Item -Path C:\scripts\transcripts\history.txt       -Destination C:\Users\Sam\Desktop

500

List all command that begins the letter 'M' on to notepad file

(Time-Limit: 2:00)

$M = Get-Command m*

$M|out-file .\letterM.csv

notepad .\letterM.csv

M
e
n
u