CN1266 Network Scripting Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Slides:



Advertisements
Similar presentations
CN2140 Server II (V2) Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Advertisements

CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN2180 MS SQL Server Kemtis Kunanuraksapong MSIS with Distinction, A+ MCTS, MCDST, MCP.
CN1266 Network Scripting Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
ITC242 – Introduction to Data Communications ITC431 – Computer Networks Week 13 Exam Preparation.
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Final Exam Review B. Ramamurthy. Date, Time and Place Date: Tuesday May 5, 2009 Time: AM Place: Filmore 170 Please bring pens, pencils, calculator.
Today’s Mental Math Write the date and number 1-10 Today’s title: MM #13 Practice Quiz It will start in 2 minutes and 0 seconds It will start in 1 minute.
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
Social Studies 9 Chapter 2 Time Zones.  A time zone is a region of the Earth that has adopted the same standard time, usually referred to as the local.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
JavaScript Events and Event Handlers 1 An event is an action that occurs within a Web browser or Web document. An event handler is a statement that tells.
Module 2 Creating Active Directory ® Domain Services User and Computer Objects.
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Practice Management Training Webinar - Chapter 3 of 4 Ros Campbell Product Consultant.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
CN1276 Server (V3) Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
CN2668 Routers and Switches (V2) Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Said Salomon Unitrin Direct Insurance T-SQL Date and Time Functions Said Salomon.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
CN2140 Server Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Ms. Viqar Shirazi Jr. III Maths Junior Section – P.A.F. Chapter.
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CS 115 QUIZ # 1 INFORMATION Scheduled for TUESDAY 9/22/15 1.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN1266 Network Scripting V1.2 Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 9: Linux Network Services Chapter 16: Administration Tasks By Fred R. McClurg Linux Operating.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Chapter Seven Telling Time. 1.hour – a unit used to measure time 1 hour = 60 minutes 1 day = 24 hours.
Kemtis Kunanuraksapong MSIS with Distinction, A+ MCT, MCTS, MCDST, MCP.
CN2180 MS SQL Server Kemtis Kunanuraksapong MSIS with Distinction, A+ MCTS, MCDST, MCP.
Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN1266 Network Scripting Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN2180 MS SQL Server Kemtis Kunanuraksapong MSIS with Distinction, A+ MCTS, MCDST, MCP.
Jodie Gaver Jodie Gaver Working with Configuration Manager since Working with Configuration Manager since MCTS: Administering and Deploying.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN2180 Chapter 4 Kemtis Kunanuraksapong MSIS with Distinction, A+ MCTS, MCDST, MCP Kemtis Kunanuraksapong MSIS with Distinction, A+ MCTS, MCDST, MCP.
CN1266 Network Scripting Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN2180 Chapter 2 Kemtis Kunanuraksapong MSIS with Distinction, A+ MCTS, MCDST, MCP.
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
5 Copyright © 2009, Oracle. All rights reserved. Managing Data in Different Time Zones.
Chapter 11 Section 1 (1)  WORK DUE: No work due  AGENDA: Notes for 11.1 Vocabulary page 328 Questions 1-8 page 331 Worksheet 11.1 DO NOW: Complete motion.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Chapter 14 Internationalization
Standard Operating Procedure
VISUAL BASIC .NET Chapter 3 Assignment Sheet
Bellringer (5 minutes) List and describe 3 of the four types of résumé formats.
Week of March th grade.
Midterm Exam Information
Chapter 2 Design Table and Form.
Chapter 2 Design Table and Form.
Presentation transcript:

CN1266 Network Scripting Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+

Agenda Chapter 13: Going On a Date with PowerShell Quiz Exercise

Date cmdlets Get-Date ▫-DisplayHint date ▫-DisplayHint time ▫-format yyyyMMdd  Try: -format dd-mm-yyyy ▫-uFormat %y%m%d ▫See Table 13-1 on Page 177 for Modifiers

Creating your own dates If you omit any value, it will shows default value. ▫Time: 12:00:00 AM $mydate = Get-Date “03/29/2010” Get-Date –year 2010 –month 3 –day 29 –hour 14 –minute 23 –second 15

Using Date Math Calculating the differences ▫$date1 = Get-Date –year 1983 –month 2 –day 3 ▫$date2 = Get-Date –year 2010 –month 12 –day 25 ▫$diff = $date2-$date1 As a result, you will get TimeSpan object ▫To get specific result, we use property of TimeSpan ▫$diff.days ▫$diff.TotalHours

Looking into the future To schedule the task to run every 15 days: ▫$StartDate = Get-Date ▫Write-Host ("Task runs on: ") ▫Write-Host $StartDate ▫for($i = 15; $i -le 60; $i += 15){ ▫ Write-Host $StartDate.AddDays($i) ▫} Or to calculate the past ▫$now = get-Date ▫$now.AddHours(-8723)

Daylight Saving? $date1 = Get-Date "1/3/2008" $date2 = Get-Date "4/23/2008" $date1.IsDayLightSavingTime $date2.IsDayLightSavingTime

Time Zones In order to calculate the timezone different, ▫$tz = [timezone]::CurrentTimeZone ▫$d = Get-Date ▫$tz.getUTCoffset($d).Hours

Assignment See Hand out Write a fortune teller code to give the answer based on the time of the day (Minutes) ▫0 – 10 – answer 1 ▫11 – 20 – answer 2 ▫ – answer 3 ▫ – answer 4 ▫ – answer 5 ▫ – answer 6