UNIT 2 LAB 4: CREATING LOOPING STATEMENTS
|
|
- Lionel Boyd
- 5 years ago
- Views:
Transcription
1 OVERVIEW In a script, it is often necessary to perform the same operation repeatedly until some condition exists. This could be reading the lines of text in a file or reading input from the keyboard until a specific key is pressed. These tasks are normally handled using a looping statement. In this lab, you will practice creating looping statements to repeat a task for a specific number of iterations, until a specific condition exists, or until all the items in an array are read. OBJECTIVES 5.1. Use input and output commands Use looping constructs Initialize data structures Use arithmetic, string, and logical operators PREREQUISITES Lab - Creating Selection Statements is complete. SCENARIO Your organization is investigating the use of the command line and scripting for network administration. You have previously created parts of a menu based inventory script. In this lab, we will add some further functionality to the script using looping statements. TASKS 1. Logon to the DC-1 virtual machine with an administrative account. 2. Open the PowerShell ISE. 3. Open the Get-Inventory-Sw.ps1 and save it as Get-Inventory2.ps1 4. Get-Inventory2.ps1 should now be displayed in the script pane. We will be editing this script in this lab. ADDING A WHILE LOOP One of the issues you had with the previous script was that it could only process one option at a time before the script would exit. In this step, you will add a While loop so that the script will keep running until the user presses the X key to exit. To add a loop to the Get-Inventory2.ps1 script, perform the following steps: 1. Before any code in the Main Body section add the following code: While ( $menu_choice -ne X ) { 2. Remove the code in the statement block for X option, leaving only the Write-Host statement about Exiting
2 3. Place a closing curly brace } at the end of the script to match the opening curly brace in the While statement. 4. The main body of the script should look like the screen shown below. Figure 1 - Script Main Body 5. Correct any errors in the script and then save the script. 6. Run the script and test the operation. You should see output similar to the screen below. 7. Notice each time an option is chosen the menu is displayed again. To prevent the multiple menus inert the following line at the top of the while loop before the line that displays the menu. Clear-Host Figure 2 - Script Output
3 8. Run the script and verify it works. 9. You may notice that you don t see the output from each option because the loop is executing too quickly. To slow down your script so that you can see the information displayed on the console, add the following command before the final curly brace for the While statement. Start-Sleep -Seconds Save your script and test it. It should now work correctly. In the next section, we ll make some of the menu options work. 11. The code in the Main Body of your script should look like the screen shown below. Some comments have been added. Figure 3 - Script with Sleep statement and Clear-Host ADDING A FOR LOOP A For loop can be used when you would like to loop a specific number of times. For example, if you have 25 users in your organization and you would like to update some property for all users then a For Loop could work. In this step, we are going to use a For Loop to loop through an array of computers and perform a simple hardware inventory. To add a For Loop to your script, perform the following steps:
4 1. Open or verify that the Get-Inventory2.ps1 script is open and add the following code to the Initialization section: $computers = DC1, W7-Client, W8-Client 2. In the Main Body of the script, remove the line in the script block for the A option Write-Host This code is not yet implemented 3. In place of the line you just removed, insert the following code: for ($i=0; $i -lt $computers.length; $i++) { $computers[$i] Get-WmiObject Win32_ComputerSystemProduct -ComputerName $computers[$i] } Read-Host -Prompt "Press Enter to Continue..." 4. The code in the Main Body section should look like the code below. Figure 4 - Code to view installed software 5. Correct any errors in your code and save the script. 6. Run the script and test that it works properly. You should see output similar to the screen below when you choose option A. Figure 5 - Script Output showing installed software
5 ADDING A FOREACH LOOP The Foreach Loop is used to loop through a collection of objects assigning each one to a variable that is used in a script block. In this step, we will use the $computers array in Foreach Loop to perform a WMI query on each of the computers. To add a Foreach Loop perform the following steps: 1. Verify that the Get-Inventory2.ps1 script is open in the PowerShell ISE. 2. In the Main Body of the script, remove the line in the script block for the B option Write-Host This code is not yet implemented 3. In place of the line you just removed, insert the following code: foreach ($computer in $computers) { Get-WmiObject -Class Win32_Processor -ComputerName $computer Get-WmiObject -Class Win32_PhysicalMemory -ComputerName $computer Get-WmiObject -Class Win32_LogicalDisk -ComputerName $computer } Read-Host -Prompt "Press Enter to Continue..." 4. Your Switch statement should now look like the figure below. Figure 6 - Switch Statement
6 5. Correct any errors and save your script. 6. Test and verify your script. This script s output is rather verbose and formatted poorly. We will address this in a future lab.
Product Page: https://digitalrevolver.com/product/automating-administration-with-windows-powershell/
Automating Administration with Windows PowerShell Course Code: Duration: 5 Days Product Page: https://digitalrevolver.com/product/automating-administration-with-windows-powershell/ This course provides
More information: 10961C: Automating Administration With Windows PowerShell
Module Title Duration : 10961C: Automating Administration With Windows PowerShell : 5 days About this course This course provides students with the fundamental knowledge and skills to use Windows PowerShell
More information"Charting the Course... MOC C: Automating Administration with Windows PowerShell. Course Summary
Course Summary Description This course provides students with the fundamental knowledge and skills to use Windows PowerShell for administering and automating administration of Windows servers. This course
More informationAutomating Administration with Windows PowerShell
Automating Administration with Windows PowerShell Course 10961C - Five Days - Instructor-led - Hands on Introduction This five-day, instructor-led course provides students with the fundamental knowledge
More informationLearn Windows PowerShell 3 in a Month of Lunches
Learn Windows PowerShell 3 in a Month of Lunches Second Edition DON JONES JEFFERY HICKS 11 MANN I NG Shelter Island contents preface xx'ii about this booh author online xx xix about the authors acknowledgments
More informationWindows Server 2012 R2 Windows PowerShell Fundamentals
Windows Server 2012 R2 Windows PowerShell Fundamentals Windows Server 2012 R2 Hands-on lab Windows PowerShell is a command-line shell and scripting language that helps IT professionals achieve greater
More informationCorporate Training Centre (306)
Corporate Training Centre www.sbccollege.ca/corporate (306)244-6340 corporate@sbccollege.ca Automating Administration with Windows PowerShell: 10961C 5 Day Training Program November 5-9, 2018 Cost: $2,700.00
More informationPowershell. Testing, Loops, Modules, More WMI COMP2101 Fall 2017
Powershell Testing, Loops, Modules, More WMI COMP2101 Fall 2017 Testing - if To test things, we can use the if statement We have one or more expressions to evaluate inside parentheses Multiple expressions
More informationAutomating Administration with Windows PowerShell
Course Code: M10961 Vendor: Microsoft Course Overview Duration: 5 RRP: POA Automating Administration with Windows PowerShell Overview This course provides students with the fundamental knowledge and skills
More informationMicrosoft Automating Administration with Windows PowerShell
1800 ULEARN (853 276) www.ddls.com.au Microsoft 10961 - Automating Administration with Windows PowerShell Length 5 days Price $4290.00 (inc GST) Version C Overview This course provides students with the
More informationMicrosoft Windows PowerShell v2 For Administrators
Microsoft Windows PowerShell v2 For Administrators Course 50414 5 Days Instructor-led, Hands-on Introduction This four-day instructor-led course provides students with the knowledge and skills to leverage
More informationAutomating Administration with Windows PowerShell 2.0
Automating Administration with Windows PowerShell 2.0 Course No. 10325 5 Days Instructor-led, Hands-on Introduction This course provides students with the knowledge and skills to utilize Windows PowerShell
More informationGovindaraj Rangan Technology Strategist Microsoft India
Govindaraj Rangan Technology Strategist Microsoft India Agenda Introduction to Windows Powershell Scripting with Windows Powershell Working with Objects (WMI, COM,.NET) Scripting Best Practices Agenda
More informationAutomating Administration with Windows PowerShell (10961)
Automating Administration with Windows PowerShell (10961) Duration: 5 Days Live Course Delivery Price: $2795 *California residents and government employees call for pricing. MOC On-Demand Price: $895 Discounts:
More informationAutomating Administration with Windows PowerShell (M10961)
Automating Administration with Windows PowerShell (M10961) COURSE OVERVIEW: In this PowerShell course, you will gain the fundamental knowledge and skills to use Windows PowerShell for administering and
More informationCourse Outline. Automating Administration with Windows PowerShell Course 10961B: 5 days Instructor Led
Automating Administration with Windows PowerShell Course 10961B: 5 days Instructor Led About this Course Learn how with Windows PowerShell 3.0, you can remotely manage single or multiple Windows-based
More informationINF220x Security Practical Exercises
INF220x Security Practical Exercises This course comes with a virtual lab environment where you can practice what you learn. In most cases, the userid is Adatum\Administrator and the password is Pa55w.rd,
More informationCOURSE 10961B: AUTOMATING ADMINISTRATION WITH WINDOWS POWERSHELL
ABOUT THIS COURSE Learn how with Windows PowerShell 3.0, you can remotely manage single or multiple Windows-based servers and automate day-to-day management and administration tasks. This five day course
More informationInstall and Configure Windows Server 2016 Core on Hyper-V Step by Step (V1.1)
Install and Configure Windows Server 2016 Core on Hyper-V 2016 Step by Step (V1.1) Ahmed Abdelwahed Microsoft Certified Trainer Ahmed_abdulwahed@outlook.com Contents Lab Scenario... 3 Working with Hyper-V...
More informationRunning TCL Scripts on an IDENTIKEY Appliance. Creation date: 24/06/2016 Last Review: 26/07/2016 Revision number: 2
KB 160094 Running TCL Scripts on an IDENTIKEY Appliance Creation date: 24/06/2016 Last Review: 26/07/2016 Revision number: 2 Document type: How To Security status: EXTERNAL Summary Executing a TCL script
More informationILTA HAND 6A. Implementing and Using. Windows Server In the Legal Environment
ILTA 2013 - HAND 6A Implementing and Using Windows Server 2012 In the Legal Environment Table of Contents Purpose of This Lab... 3 Lab Environment... 3 Presenter... 3 Exercise 1 Getting Familiar with Windows
More informationCourse Outline: Course Automating Administration with Windows PowerShell v3.
Course Outline: Course Automating Administration with Windows PowerShell v3. Learning Method: Instructor-led Classroom Learning Duration: 5.00 Day(s)/ 40 hr Overview: This five day course provides students
More informationLearn PowerShell Toolmaking in a Month of Lunches
6$03/( &+$37(5 Learn PowerShell Toolmaking in a Month of Lunches by Don Jones and Jeffery Hicks Chapter 13 Copyright 2013 Manning Publications brief contents PART 1 INTRODUCTION TO TOOLMAKING...1 1 Before
More information10961C: Automating Administration with Windows PowerShell
10961C: Automating Administration with Windows Course Details Course Code: Duration: Notes: 10961C 5 days This course syllabus should be used to determine whether the course is appropriate for the students,
More informationLearn PowerShell Toolmaking in a Month of Lunches
SAMPLE CHAPTER Learn PowerShell Toolmaking in a Month of Lunches by Don Jones and Jeffery Hicks Chapter 20 Copyright 2013 Manning Publications brief contents PART 1 INTRODUCTION TO TOOLMAKING...1 1 Before
More informationLearn PowerShell Scripting in a Month of Lunches
Learn PowerShell Scripting in a Month of Lunches by Don Jones Jeffery Hicks Chapter 14 Copyright 2018 Manning Publications brief contents PART 1 INTRODUCTION TO SCRIPTING...1 1 Before you begin 3 2 Setting
More informationForeScout CounterACT. Hardware Inventory Plugin. Configuration Guide. Version 1.0.3
ForeScout CounterACT Hardware Inventory Plugin Version 1.0.3 Table of Contents About the Hardware Inventory Plugin... 3 What to Do... 3 Requirements... 4 Installation... 4 Use Hardware Inventory Information...
More informationAutomating Administration with Windows PowerShell
Automating Administration with Windows PowerShell 10961; 5 Days, Instructor-led Course Description Learn how with Windows PowerShell 4.0, you can remotely manage multiple Windows based servers and automate
More informationPowerShell 10961: Automating Administration with Windows PowerShell. Upcoming Dates. Course Description. Course Outline
PowerShell 10961: Automating Administration with Windows PowerShell Learn how with Windows PowerShell you can remotely manage single or multiple Windows-based servers and automate day-to-day management
More informationComputer Systems and Architecture
Computer Systems and Architecture UNIX Scripting Bart Meyers University of Antwerp August 29, 2012 Outline Basics Conditionals Loops Advanced Exercises Shell scripts Grouping commands into a single file
More informationPowershell. Functions, Parameters, User Input, Providers, WMI Objects COMP2101 Fall 2017
Powershell Functions, Parameters, User Input, Providers, WMI Objects COMP2101 Fall 2017 Script Parameters Scripts can have parameters Use the param statement as the first line in your script to add parameters
More information10961B: Automating Administration with Windows PowerShell
10961B: Automating Administration with Windows PowerShell Course Overview This course provides students with the knowledge and skills to automate administration with Windows PowerShell, using features
More informationAutomating Administration with Microsoft Windows PowerShell
Automating Administration with Microsoft Windows PowerShell Cursusduur: 5 Dagen Cursuscode: M10961 Beschrijving: This course provides students with the fundamental knowledge and skills to use Microsoft
More informationWindows PowerShell Scripting and Toolmaking
Windows PowerShell Scripting and Toolmaking Course 55039B 5 Days Instructor-led, Hands on Course Information This five-day instructor-led is intended for IT professionals who are interested in furthering
More informationSharePoint 2010 and 2013 Auditing and Site Content Administration using PowerShell
SharePoint 2010 and 2013 Auditing and Site Content Administration using PowerShell 55095A; 1 Days, Instructor-led Course Description This one day class is designed for SharePoint 2010 and 2013 server administrators
More informationPowerShell for System Center Configuration Manager Administrators
Course 55133A: PowerShell for System Center Configuration Manager Administrators - Course details Course Outline Module 1: Review of System Center Configuration Manager Concepts This module explains the
More informationImplementing Hyper-V. Lab Exercises FINAL
Implementing Hyper-V Lab Exercises FINAL Released: 6 August 2008 Disclaimer - Terms of Use Microsoft Confidential - For Internal Use Only 2008 Microsoft Corporation. All rights reserved. Information in
More informationThis course incorporates materials from the Official Microsoft Learning Product M10961: Automating Administration with Windows PowerShell.
Microsoft - Automating Administration with Windows PowerShell Code: URL: OD10961 View Online In this course, you will gain the fundamental knowledge and skills to use Windows PowerShell for administering
More informationMicrosoft PowerShell for Security Professionals. Lab Guide Basics
Microsoft PowerShell for Security Professionals Lab Guide Basics 1 Table of Contents Setup the Console... 3 Help... 6 Find the Right Command... 7 Providers... 8 File System... 8 Registry... 8 Extending
More informationThe power of PowerShell
The power of PowerShell Created by Ryan Woodward North Central Missouri College Table of Contents H R P C U G 1. About me 2. What is PowerShell? 3. Installing/Starting PowerShell 4. PowerShell Basics Variables
More informationLab Sample Solutions. Chapter 4 lab. Answers
Lab Sample Solutions Chapter 4 lab WMI is a great management tool and one we think toolmakers often take advantage of. Using the new CIM cmdlets, write a function to query a computer and find all services
More informationIron Scripter 2018: Prequel 5 A commentary
Iron Scripter 218: Prequel 5 A commentary The puzzle Greetings Iron Scripters. You re nearing the half way point on your journey to Iron Scripter This challenge involves working with performance counters.
More informationWMI log collection using a non-admin domain user
WMI log collection using a non-admin domain user To collect WMI logs from a domain controller in EventLog Analyer, it is necessary to add a domain admin account of that domain in it. Alternatively, you
More informationCourse 10961: Automating Administration with Windows PowerShell
Course 10961: Automating Administration with Windows PowerShell Overview Learn how with Windows PowerShell 4.0, you can remotely manage multiple Windows based servers and automate day to day management
More informationBuilding Powerful Workflow Automation with Cherwell and PowerShell
Building Powerful Workflow Automation with Cherwell and PowerShell Agenda Welcome & Session Introduction What is PowerShell? PowerShell ISE Commands/Cmd-Lets Operators Variables Flow Control LAB 1 Exploring
More informationProgramming in C++ PART 2
Lecture 07-2 Programming in C++ PART 2 By Assistant Professor Dr. Ali Kattan 1 The while Loop and do..while loop In the previous lecture we studied the for Loop in C++. In this lecture we will cover iteration
More informationSAMPLE CHAPTER SECOND EDITION. Don Jones Jeffery Hicks Richard Siddaway MANNING
SAMPLE CHAPTER SECOND EDITION Don Jones Jeffery Hicks Richard Siddaway MANNING PowerShell in Depth by Don Jones Jeffery Hicks Richard Siddaway Chapter 32 Copyright 2015 Manning Publications brief contents
More informationAutomating Administration with Windows PowerShell V3
Automating Administration with Windows PowerShell V3 Course Details Duration: Course code: 5 Days M10961 Overview: In this course you will learn how with Windows PowerShell 3.0, you can remotely manage
More informationManaging Windows Environments with Group Policy
Managing Windows Environments with Group Policy 50255D; 5 Days, Instructor-led Course Description In this course, you will learn how to reduce costs and increase efficiencies in your network. You will
More informationPOWERSHELL. Introduction COMP2101 Winter 2019
POWERSHELL Introduction COMP2101 Winter 2019 POWERSHELL VERSIONS Windows Powershell version 5.1 is the target version for this course The get-host command can be used to see your Windows Powershell version
More informationUsing Windows PowerShell scripts
CHAPTER 5 Using Windows PowerShell scripts After completing this chapter, you will be able to Understand the reasons for writing Windows PowerShell scripts. Make the configuration changes required to run
More informationCOURSE OUTLINE: OD10961B Automating Administration with Windows PowerShell
Course Name OD10961B Automating Administration with Windows Course Duration 2 Days Course Structure Online Course Overview Learn how with Windows 4.0, you can remotely manage multiple Windows based servers
More informationMCSA Guide to Administering Microsoft Windows Server 2012/R2, Exam Chapter 10 Managing Group Policies
MCSA Guide to Administering Microsoft Windows Server 2012/R2, Exam 70-411 Chapter 10 Managing Group Policies Objectives Configure group policy scope, precedence, and inheritance Configure group policy
More information[MS10961]: Automating Administration with Windows PowerShell
[MS10961]: Automating Administration with Windows PowerShell Length : 5 Days Audience(s) : IT Professionals Level : 200 Technology : Windows Server Delivery Method : Instructor-led (Classroom) Course Overview
More informationRAP as a Service for Exchange Server: Prerequisites
RAP as a Service for Exchange Server: Prerequisites This document explains the required steps to configure the RAP as a Service for Exchange Server. There are two scenarios available to configure the assessment.
More informationPowerShell for System Center Configuration Manager Administrators (55133)
PowerShell for System Center Configuration Manager Administrators (55133) Formato do curso: Presencial Localidade: Lisboa Data: 13 Dez. 2017 a 20 Dez. 2017 Preço: 1020 Horário: Pós-laboral - das 18:30
More informationWhen Microsoft releases new updates to firmware and drivers, the firmware and driver pack is updated for all Surface models.
Managing Surface Devices in the Enterprise Firmware/Driver Management with System Center Configuration Manager 2012 This article describes how to deploy enterprise-managed firmware and drivers to Surface
More informationProcessing Big Data with Hadoop in Azure HDInsight
Processing Big Data with Hadoop in Azure HDInsight Lab 3A Using Pig Overview In this lab, you will use Pig to process data. You will run Pig Latin statements and create Pig Latin scripts that cleanse,
More informationNE Administering System Center Configuration Manager and Intune
NE-20696 Administering System Center Configuration Manager and Intune Summary Duration 5 Days Audience IT Professionals Level 300 Technology System Center Configuration Manager Delivery Method Instructor-led
More informationForescout. Configuration Guide. Version 1.1
Forescout Version 1.1 Contact Information Forescout Technologies, Inc. 190 West Tasman Drive San Jose, CA 95134 USA https://www.forescout.com/support/ Toll-Free (US): 1.866.377.8771 Tel (Intl): 1.408.213.3191
More informationTutorial: Uploading your server build
Tutorial: Uploading your server build This tutorial walks you through the steps to setup and upload your server build to Amazon GameLift including prerequisites, installing the AWS CLI (command-line interface),
More informationCounterACT Hardware Inventory Plugin
CounterACT Hardware Inventory Plugin Version 1.0.2 Table of Contents About the Hardware Inventory Plugin... 3 What to Do... 4 Requirements... 4 Installation... 4 Use Hardware Inventory Information... 5
More informationPowershell: Introduction and Practical Uses. Presentation URL:
Powershell: Introduction and Practical Uses Presentation URL: http://bit.ly/2ick4pt HELLO! I am Chris Wieringa CS Lab Manager for Calvin College cwieri39@calvin.edu 2 1. Goals What we will cover today...
More informationLab: Relational Universe Create Predefined Filters
Lab: Relational Universe Create Predefined Filters Scenario You will add and configure predefined filters in the Business Layer to make them available in the Business Layer outline to be re-used in the
More informationFlow Control: Branches and loops
Flow Control: Branches and loops In this context flow control refers to controlling the flow of the execution of your program that is, which instructions will get carried out and in what order. In the
More informationPowerShell for Forensics
PowerShell for Forensics by Washington Almeida Organizations today handle more sensitive personal data than ever before. As the amount of sensitive personal data increases, the more they are susceptible
More information10961B: Automating Administration with Windows PowerShell
10961B: Automating Administration with Windows Course Details Course Code: Duration: Notes: 10961B 5 days Elements of this syllabus are subject to change. About this course Learn how with Windows 3.0,
More information[MS10962]: Advanced Automated Administration With Windows PowerShell
[MS10962]: Advanced Automated Administration With Windows PowerShell Length : 3 Days Audience(s) : IT Professionals Level : 300 Technology : Windows Server Delivery Method : Instructor-led (Classroom)
More informationPrerequisites... 2 Deploy a Single Backup Policy to Your Network... 3 Batch Script... 3
Prerequisites... 2 Deploy a Single Backup Policy to Your Network... 3 Batch Script... 3 PowerShell Script... 5 Deploy Multiple Backup Policies to Your Network... 7 Batch Script... 7 PowerShell Script...
More informationChangeable information Lesson 2 Creating a Parameterized Script Best practices Lab A Creating a Parameterized Script...
Table of Contents Using this Course Manual... 7 Acknowledgements... 8 Module 01 Preparing for Scripting... 9 Lesson 1 Overview... 10 What is toolmaking?... 11 Is this course for you?... 13 Prerequisites...
More informationManaging Group Policy application and infrastructure
CHAPTER 5 Managing Group Policy application and infrastructure There is far more to managing Group Policy than knowing the location of specific policy items. After your environment has more than a couple
More informationMicrosoft Access 2013 Lab #01 Part #01
Microsoft Access 2013 Lab #01 Part #01 In this exercise, you ll start Access and explore the Backstage view and ribbon. SET UP You need the GardenCompany01 database located in the Chapter01 practice file
More informationPowershell. Working With Data COMP2101 Fall 2017
Powershell Working With Data COMP2101 Fall 2017 Where-Object Collections of objects contain objects we are interested in and often also contain objects we are not interested in Where-Object is designed
More informationForeScout CounterACT. Configuration Guide. Version
ForeScout CounterACT Endpoint Module: Hardware Inventory Plugin Version 1.0.2.2 Table of Contents About the Hardware Inventory Plugin... 3 What to Do... 4 Requirements... 4 Verify That the Plugin Is Running...
More informationMS-20696: Managing Enterprise Devices and Apps using System Center Configuration Manager
MS-20696: Managing Enterprise Devices and Apps using System Center Configuration Manager Description Get expert instruction and hands-on practice configuring and managing clients and devices using Microsoft
More informationWhat is Bash Shell Scripting?
What is Bash Shell Scripting? A shell script is a script written for the shell, or command line interpreter, of an operating system. The shell is often considered a simple domain-specic programming language.
More informationNintex Forms 2010 Uninstall Guide
Nintex Forms 2010 Uninstall Guide www.nintex.com Support@nintex.com Contents Uninstalling Nintex Forms 2010... 3 Removing the Nintex Forms 2010 Solution... 3 Removing the Nintex Forms Database... 3 Removing
More informationComputer Systems and Architecture
Computer Systems and Architecture Stephen Pauwels UNIX Scripting Academic Year 2018-2019 Outline Basics Conditionals Loops Advanced Exercises Shell Scripts Grouping commands into a single file Reusability
More informationM20696 Administering System Center Configuration Manager and Intune
M20696 Administering System Center Configuration Manager and Intune Course Number: M20696 Category: Technical Microsoft Duration: 5 days Certification: 70-696 Overview Get expert instruction and hands-on
More informationCorporate Training Centre (306)
Corporate Training Centre www.sbccollege.ca/corporate (306)244-6340 corporate@sbccollege.ca Windows PowerShell Scripting and Toolmaking: 55039 5 Day Training Program November 4-8, 2019 Cost: $2,800.00
More informationProcessing Big Data with Hadoop in Azure HDInsight
Processing Big Data with Hadoop in Azure HDInsight Lab 3B Using Python Overview In this lab, you will use Python to create custom user-defined functions (UDFs), and call them from Hive and Pig. Hive provides
More informationIron Scripter 2018: Prequel 6
Iron Scripter 2018: Prequel 6 The Puzzle Greetings Iron Scripters. You re past the half way point on your journey to Iron Scripter when you complete this puzzle. This week s challenge is very simple on
More informationAn administrator s guide
S AMPLE CHAPTER Covers PowerShell 3.0 An administrator s guide Don Jones Richard Siddaway Jeffery Hicks MANNING PowerShell in Depth by Don Jones Richard Siddaway Jeffery Hicks Chapter 32 Copyright 2013
More informationCSC 360 Lab Assignment #6 Spring 2015 Due: March 13, 2015
CSC 360 Lab Assignment #6 Spring 2015 Due: March 13, 2015 The following are the end-of-chapter Labs from Chapter 7 through Chapter 12 of our textbook. Answer each question or describe the PowerShell command(s)
More informationLab 5a Shell Script Lab 4 Using Arithmetic Operators in shell script
Lab 5a Shell Script Lab 4 Using Arithmetic Operators in shell script Objective Upon completion of this lab, the student will be able to use arithmetic operators in Linux shell script. Scenario The student
More information9.2 Linux Essentials Exam Objectives
9.2 Linux Essentials Exam Objectives This chapter will cover the topics for the following Linux Essentials exam objectives: Topic 3: The Power of the Command Line (weight: 10) 3.3: Turning Commands into
More informationWorking with JavaScript
Working with JavaScript Creating a Programmable Web Page for North Pole Novelties 1 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page 2 Objectives
More informationWindows Server 2012 Immersion Experience Enabling Secure Remote Users with RemoteApp, DirectAccess, and Dynamic Access Control
Windows Server 2012 Immersion Experience Enabling Secure Remote Users with RemoteApp, DirectAccess, and Dynamic Access Control Windows Server 2012 Hands-on lab In this experience, you will configure a
More informationPowerShell Master Class
Region Example Creating a PowerShell Script Basics of PowerShell Script Best Practices for Script Authoring Interacting With Users 4 #region CIM Get-Command -Module CimCmdlets Get-CimClass -ClassName *disk*
More informationShavlik Protect. Guidelines for Creating Custom ITScripts
Shavlik Protect Guidelines for Creating Custom ITScripts Copyright and Trademarks Copyright Copyright 2006 2015 LANDESK Software, Inc. All rights reserved. This product is protected by copyright and intellectual
More informationThis course comes with a virtual lab environment where you can practice what you learn.
INF220x Security Practical Exercises Overview This course comes with a virtual lab environment where you can practice what you learn. In most cases, the userid is Adatum\Administrator and the password
More informationA control expression must evaluate to a value that can be interpreted as true or false.
Control Statements Control Expressions A control expression must evaluate to a value that can be interpreted as true or false. How a control statement behaves depends on the value of its control expression.
More informationLab 3: Sampling Distributions
Lab 3: Sampling Distributions Sampling from Ames, Iowa In this lab, we will investigate the ways in which the estimates that we make based on a random sample of data can inform us about what the population
More informationView DPM Protection Groups Using Microsoft System Center Operations Manager 2007 R2
SCDPMONLINE.ORG View DPM Protection Groups Using Microsoft System Center Operations Manager 2007 R2 David Allen MVP System Center Operations Manager 1/31/2010 Some Rights Reserved: You are free to use
More informationERIE COMMUNITY COLLEGE COURSE OUTLINE. DA155 Operating Systems and Shell Scripting
October 2007 A. COURSE NUMBER AND TITLE: ERIE COMMUNITY COLLEGE COURSE OUTLINE DA155 Operating Systems and Shell Scripting B. CURRICULUM: Information Technology C. CATALOG DESCRIPTION An overview of the
More informationTable of Contents. 1. How PowerShell Functions Work. 1. How PowerShell Functions Work. 17. Evaluating User Submitted Parameters
Table of Contents 1. How PowerShell Functions Work 2. Essential Function Best Practices 3. Defining Function Parameters 4. Picking Standard Parameter Names 5. Using Mandatory Parameters 6. Add Help Messages
More informationA layman s guide to PowerShell 2.0 remoting. Ravikanth Chaganti
A layman s guide to PowerShell 2.0 remoting Ravikanth Chaganti Learn the basics of PowerShell 2.0 remoting, methods of remoting and how to use remoting to manage systems in a datacenter. A layman s guide
More informationNon-SAP Monitoring using OS scripts for multiple metrics
Non-SAP Monitoring using OS scripts for multiple metrics With SAP Solution Manager 7.1 SP12 Introduction: This guide describes how you can set up and us OS scripts to monitor SAP and non-sap applications
More informationIron Scripter 2018: Prequel 7 A touch of class
Iron Scripter 2018: Prequel 7 A touch of class The Puzzle Greetings Iron Scripters. The countdown to Iron Scripter continues. The ultimate contest will soon be upon you. In this weeks challenge you re
More informationManaging Group Policy application and infrastructure
CHAPTER 5 Managing Group Policy application and infrastructure There is far more to managing Group Policy than knowing the location of specific policy items. After your environment has more than a couple
More information