Power Shell As A Tools Platform

24
Jim Christopher PowerShell as a Tools Platform

Transcript of Power Shell As A Tools Platform

Jim Christopher

PowerShell as a Tools Platform

CodeStock is proudly partnered with:

Send instant feedback on this session via Twitter:

Send a direct message with the room number to @CodeStockd codestock 417 This session is great!

For more information on sending feedback using Twitter while at CodeStock, please see the “CodeStock README” in your CodeStock guide.

RecruitWise and Staff with Excellence - www.recruitwise.jobs

The Hardest Problems Solved By The Best Engineers

http://www.softwarefx.com/

(PERSONAL SPONSOR)

[email protected]

http://twitter.com/beefarino

http://www.beefycode.com

Jim ChristopherCode Owls LLCCharlotte, NC

A Specialized Tool for Each Task…

… or a General Tool for All Tasks?

Consider

vs

Which is more portable?

Which is easierto maintain?

My goal is to get youthinking about

targeting PowerShellas your One Tool.

MEMBERSHIP & PROVIDER DEMO

Provider Architecture

C:\> get-item temp

Path = c:\temp

Drive = c:

Drive’s Provider = File System

Give me the item for “c:\temp”

Provider Architecture

Provider

Items

Content &

Properties

Provider Architecture

File System

Folders & Files

File Content

File & Directory Properties

Provider Architecture

Registry

Keys

Values

Provider Item Cmdlets

item

new-

get-

set-

clear-

remove-

copy-

rename-

move-

Membership Item Cmdlets

item

new-

get-

set-

clear-

remove-

copy-

rename-

move-

Provider Hierarchy

Navigation

Container

Item

Drive

Provider Hierarchy

Navigation

Container

Item

Drive•Add & Remove Drives

PowerShell 2.0 SDK

http://tinyurl.com/posh2sdk

(http://preview.tinyurl.com/posh2sdk)

Provider Hieriarchy

Navigation

Container

Item

Drive

• Get an Item• Set an Item•Test if an Item Exists

Provider Hierarchy

Navigation

Container

Item

Drive

• Create a New Item• Remove an Item• Get Child Items

Thanks for Coming!

http://tinyurl.com/poshtoolssurvey

[email protected]

• http://twitter.com/beefarino

• http://www.beefycode.com