PowerShell: Drink the Kool-Aid!. Who we are…..Who we are…..

Slides:



Advertisements
Similar presentations
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Advertisements

MGT305 Windows PowerShell Next Generation Command Line Scripting Jeffrey Snover & Leonard Chung Windows Enterprise Management Division.
More Control and Flexibility Vitalis Konopelec Technology Solution Professional Microsoft Slovakia s.r.o.
Clyde G. Johnson.  Test Environment  Tools of the trade  Demo  Central Store  Show  Group Policy Spreadsheets  Demo  Planning and Deployment.
Managing Active Directory with PowerShell JOSEPH MOODY.
10 PowerShell Commands Every Admin Should Know David Price.
7.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 7: Introducing Group Accounts.
Microsoft ® shell scripting environment Gives administrators more power and command in the shell environment – Hence…PowerShell? Active Directory Module.
POWERSHELL Dr. Sarah Gothard CEG 233 Spring 2010.
Daniel Petri MVP, Microsoft Infrastructure Manager John Bryce Training November 2007.
Welcome Course 20410B Module 0: Introduction Audience
11 WORKING WITH COMPUTER ACCOUNTS Chapter 8. Chapter 8: WORKING WITH COMPUTER ACCOUNTS2 CHAPTER OVERVIEW  Describe the process of adding a computer to.
11 WORKING WITH COMPUTER ACCOUNTS Chapter 8. Chapter 8: WORKING WITH COMPUTER ACCOUNTS2 CHAPTER OVERVIEW Describe the process of adding a computer to.
Guide to MCSE , Enhanced 1 Activity 9-1: Creating a Group Policy Object Using the MMC Objective: To create a GPO using the Group Policy Object Editor.
#BSidesCLEVO PowerShell Copyright (C) 2014 ClevelandBSides. PowerShell: Drink the Kool-Aid.
#BSidesCMH PowerShell Copyright (C) 2014 ColumbusBSides. PowerShell: Drink the Kool-Aid.
Adding a Module The Import-Module cmdlet  Can be used to load any external module into PowerShell.  Uses the following syntax to add the ActiveDirectory.
Module 2 Creating Active Directory ® Domain Services User and Computer Objects.
Deploying and Managing Windows Server 2012
© 2007 Asynchrony Solutions, Inc. 1 10/29/07 Introduction to PowerShell Brian Button VP Engineering Asynchrony Solutions, Inc
Presenters: Winfred Wangeci Jignash Reddy.  It is Microsoft's new task-based command- line shell and scripting language designed especially for system.
MS WINDOWS POWER SHELL CSE 535 Operating Systems.
Windows PowerShell Deep Dive 1 Morgan Simonsen Ementor.
Microsoft ® Official Course Module XA Using Windows PowerShell ®
PowerShell Basics. o PowerShell is a great way to manipulate server and/or workstation components o It’s geared toward system administrators by creating.
Chapter 4 Initial Configuration Tasks. Understanding the Initial Configuration Tasks window Microsoft now provides a new feature, the Initial Configuration.
RMsis – v Simplify Requirement Management for JIRA.
Section 6: Using Windows PowerShell to Manage Group Policy Introducing Windows PowerShell Windows PowerShell Library for Group Policy Windows PowerShell-Based.
December, 21, 2010 Bartek Bielawski Sr IT Site Services Specialist Warsaw, Poland.
PowerShell for Dummies Kurt Callemin. WHO AM I ? Kurt Callemin Final year student at KHBO: Master of Science Electronics- ICT Microsoft Student Partner.
Good Morning and Thank You!.  Have some Fun!  Learn at least one thing new!  Make myself available to you So please …  Ask questions and enjoy!
Module 1: Configuring Windows Server Module Overview Describe Windows Server 2008 roles Describe Windows Server 2008 features Describe Windows Server.
Section 11: Implementing Software Restriction Policies and AppLocker What Is a Software Restriction Policy? Creating a Software Restriction Policy Using.
Visit our Focus Rooms Evaluation of Implementation Proposals by Dynamics AX R&D Solution Architecture & Industry Experts Gain further insights on Dynamics.
Module 2 Creating Active Directory ® Domain Services User and Computer Objects.
Managing System Center 2012 Configuration Manager with Windows PowerShell MEMUG August 23 rd 2013.
PowerShell and SQL Server References. References - PowerShell  Windows PowerShell In Action Second Edition, Bruce Payette, Manning  Windows PowerShell.
Guide to MCSE , Enhanced1 Activity 1-1: Determining the Windows Server 2003 Edition Installed on a Server Objective is to determine the edition of.
Virtual techdays INDIA │ 9-11 February 2011 Monitoring and managing remote Windows 7 desktops with Windows PowerShell Ravikanth C │ Dell Inc.
Windows PowerShell Introduction 1 Morgan Simonsen Ementor.
 An alias is an alternative name assigned to a Cmdlet.  Aliases allow users to quickly interact with the shell.  The Cmdlet get-alias is.
CIS 1402: Intro to CIS Tom Gustafson. Facts About PowerShell PowerShell is Microsoft’s command-line interface that provides scripting and management capability.
POWERSHELL BASICS. BACKGROUND  Powershell is a task automation and scripting language based off the.NET framework  It provides the user full access.
1 Sneak Preview to Windows Key Areas of Focus of Windows 2008 Improvements in Server Security New Terminal Services capabilities Network Access.
 It is Microsoft's new task-based command- line shell and scripting language designed especially for system administration.  It helps Information Technology.
Windows PowerShell. What is Windows PowerShell? A command-line interface (CLI) A new way of developing Windows and other products to be more manageable.
Hyperion Artifact Life Cycle Management Agenda  Overview  Demo  Tips & Tricks  Takeaways  Queries.
Automating SharePoint 2010 administration tasks with Power Shell Toni Frankola SharePoint MVP, Croatia
Get-Intro –Name PowerShell Jason Helmick Systems Instructor Interface Technical Training.
RMsis – v now with JIRA 5.0 support Simplify Requirement Management for JIRA.
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
POWERSHELL ABOVE AND BEYOND: GUIS, WORKFLOWS, AND MORE Dean Corcoran Partner Service Account Manager (Cloud) – MCT – MCITP:EA Microsoft Australia SESSION.
Security-Enhanced Linux Stephanie Stelling Center for Information Security Department of Computer Science University of Tulsa, Tulsa, OK
Blog PowerShell for Managing Active.
 Version 1.0[edit]edit  Version 1.0 was released in 2006 for Windows XP SP2/SP3, Windows Server 2003,
Windows Certification Paths OR MCSA Windows Server 2012 Installing and Configuring Windows Server 2012 Exam (20410) Administering Windows Server.
Ravikanth C.
PowerShell 5 & Windows 10. What are we covering today? What is PowerShell? Why is PowerShell important? Some simple demos on Windows 10.
Exam In The First Attempt?
SQL Server & PowerShell
Microsoft Dumps - Microsoft Question Answer - Realexamdumps.com
QuickBooks Point of Sale Unexpected Errors Resolution.
Pass Microsoft Exam in First Attempt | Dumps4download.us
Windows PowerShell Remoting: Definitely NOT Just for Servers
PowerShell Best Practices for SQL DBA’s
Service Template Creation from the Ground Up
Automated Testing Strategies and Dynamics 365 Performance Management
Microsoft 365 Business Technical Fundamentals Series
Presentation transcript:

PowerShell: Drink the Kool-Aid!

Who we are…..Who we are…..

Wayne Pruitt The Lead Geek of the Hardbit Solutions team MCAD, MCSD, MCDBA, C|EH, E|CSA, C|HFI, and E|CIH. Over the past 12 years he has held many jobs supporting a variety of roles within the Federal Government ranks; ranging from system administrator, security administrator, developer and several IT manager roles. Zack Wojton CTO of the Hardbit Solutions team Bachelors of Science in Information Technology (BSIT), MCSA, ICND, G2700, C|EH, E|CSA, and C|HFI certifications A night owl, that believes in life-long learning. Has over a decade of IT security under his belt, held more IT related jobs than they have certifications for, and believes security is where it all comes together. HardBit Team

What this presentation is “NOT” Not intended to make you a programmer Not a deep-dive Will Not make you an expert We are not affiliated with any sweet rich vendors

DRINK IT! OH YEAH!

What is PowerShell? Command-Line Shell Built on.NET framework CLR cmdlets? We don’t need no stinking cmdlets! New tools for managing / configuring Windows Some *nix folks even use it!

Why should you care? PowerShell is native PowerShell can save you time PowerShell can save you $ PowerShell can be used for remote administration Totally help you do sweet stuff PowerShell rocks

PowerShell: Head First Where to begin No book necessary (though there are some sweet ones) – Get-Help – Get-Help About_* – Get-Command – Get-Member – Get-PSDrive

PowerShell Basic Syntax Get-service Get-service | where-object –FilterScript { $_.status –eq ‘Running’ } {} used to add script $_ = single row of data (exp: one line of get-process). = says work with one column (access particular method or data)

PowerShell Example Get-Process | sort-object –property VM –descending | select-object –first 10 | get-member Get-Process | sort-object –property VM –descending | select-object –first 10 – property company, Name, ID, Path *output is truncated, ‘enters: Out- Gridview’

Cool cool cool trick! Get-process | measure-object –property pm –sum –average –min -max

PowerShell One Liners Get-WMIObject -list Gwmi –class win32_logicaldisk Get-wmiobject win32_BIOS –computer PCName | select serialnumber Get-wmiobject win32_operatingsystem –computer PCName | select ServicepackMajorVersion.buildnumber

PowerShell Script Execution Cannot run scripts by default Set-executionpolicy remotesigned – Allows all local script to run without digital signature – *HKLM setting!* – Can be overridden by GPO

Powershell for Admins: Putting it all together System Inventory System Management Account Management Log Review

Powershell for IR Processes Promiscuous Mode Restore Points File Info User History

Powershell for Compliance What server-roles are installed? Is the computer joined to a domain? Are security updates installed on a regular basis? How many users are in the "administrator" group?

PCAT Sneak Preview!

CHEERS!

Any Questions?

Resources HardbitSolutions.com HardbitSolutions.com Newsgroup: Microsoft.Public.Windows.PowerShell Newsgroup: Microsoft.Public.Windows.PowerShell Team blog: Team blog: – PowerShellCommunity.Org: PowerShellCommunity.Org: – Channel 9 Channel 9 – Wiki Wiki – Script Center: Script Center: – CodePlex: CodePlex: – l l l Many excellent books Many excellent books – Manning Press book by PowerShell Dev Lead Bruce Payette: PowerShell in Action – O’Reilly book by PowerShell Dev Lee Holmes – Windows PowerShell Cookbook