Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using PowerShell for Windows - DO NOT USE OTHER ANSWERS PLEASE AND THANK YOU a. Write a Powershl cript called greeting that prints a greeting

Using PowerShell for Windows - DO NOT USE OTHER ANSWERS PLEASE AND THANK YOUimage text in transcribed

a. Write a Powershl cript called greeting that prints a greeting to the user- perhaps "Good morning" or something similar. Remember to set the file permissions to allow execution [See Class Note Page 14]. Note that commands in the script file do not need to end with semi-colons. (They are PowerShell commands, not C statements.) b. Now modify your script greeting so that it greets the user by (user) name, prints the current date, and prints the user currently logged onto the computer. For example, your output might look similar to the following: Good Morning compadmin Now it is 09/24/2018 10:23:50 User in machine COMPADMIN-PC is copadmin COMPADMIN-PC

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions