Building Your Administration GUI over Windows PowerShell .


78 views
Uploaded on:
Category: Music / Dance
Description
Administration Landscape. Key considerations:Easy to utilize AND FlexibleConsistent and discoverableFast and responsive.
Transcripts
Slide 1

SVR12 Building Your Administration GUI over Windows PowerShell Kenneth Hansen, Program Manager Narayanan Lakshmanan, Developer Microsoft Corporation

Slide 2

Management Landscape Internal Customers External Customers "Snap and Run " "Snap once rehash regularly" Admins " Install and overlook" Service Operations Service Partners Engineering Support Frequency of utilization Population measure Key contemplations: Deterministic , trick verification Repeatable Scalable Key contemplations: Easy to utilize AND Flexible Consistent and discoverable Fast and responsive Create custom mechanization crosswise over islands of innovation Support GUI and Command Line

Slide 3

PowerShell Enables GUI/CommandLine Consistent Commands Verb-Noun sentence structure Standard arrangement of verbs Adaptive Type System default show property set custom properties/techniques csv, xml, ado, and so on Customization Script Cmdlets – give right reflections to administrators/clients Customized Runspaces Fluent .Net API Follows ADO.Net Model Data restricting State continued and stateless executions Built-in Remoting

Slide 4

GUI over PowerShell Design Principles Separation of business and introduction rationale is key Enables "cleaning" similar operations through many instruments Otherwise much time can be spent building one-off arrangements Enables dividing of designing work Large surface region ought not mean presenting everything to everybody Some clients may never need to or ought to never observe <feature x> Even inside a similar client, there are various personas (AD versus Trade administrator) Different personas have distinctive extents of duty Don\'t anticipate that clients will make sense of everything the first run through or ever Make it straightforward Make it reliable Make it adaptable Err in favor of incessant disappointments, and after that auto or simple recuperation

Slide 5

Management Stack Internal Customers External clients Interactive Cmdline Interactive Cmdline Automated administration Partner Applications Web Client Rich customer Integrated administration benefit WPF application PowerShell customer runtime WinRM Client Authentication Windows Auth Impersonation PowerShell server runtime Custom Endpoint CSV records to characterize parts IIS Host Process WinRM Plugin Customized utilizing scripts & ACLs Authorization Mailbox CSV documents for UI control mapping Store AD Element Managed Elements

Slide 6

A Very Simple GUI demo Narayanan Lakshmanan Developer Windows Management

Slide 7

What did we use? Summon Consistency and Discovery Verb-Noun Script Cmdlets Easily build composite charges Adaptive Type System Default Display Property Set Simple PowerShell facilitating API Easy Data Binding

Slide 8

Remote UI, Focused activities and Script show demo Narayanan Lakshmanan Developer Windows Management

Slide 9

What did we use? Worked in Remoting Adaptive Type System custom properties/techniques csv, xml, ado, and so on Stateless execution (runspace pool) PowerShell API (Script Display)

Slide 10

Delegation and Customized UI demo Narayanan Lakshmanan Developer Windows Management

Slide 11

PowerShell Delegated Administration Remoting execution interfaces with an endpoint PS> New-PSSession – ConfigurationName Inventory Register endpoints with a Name, ACL, StartupScript can design LanguageMode: Full, Restricted, None Commands accessible Delegate by… Registering Endpoints with various capacities Scripting distinctive abilities based after approaching solicitation

Slide 12

PowerShell Enables GUI/CommandLine Consistent Commands Verb-Noun sentence structure Standard arrangement of verbs Adaptive Type System default show property set custom properties/strategies csv, xml, ado, and so forth Customization Script Cmdlets – give right deliberations to administrators/clients Customized Runspaces Fluent .Net API ADO.Net Model Data restricting State held on and stateless executions Built-in Remoting

Slide 13

Management Landscape Internal Customers External Customers "Snap and Run " "Snap once rehash frequently" Admins " Install and overlook" Service Operations Service Partners Engineering Support Frequency of utilization Population estimate Key contemplations: Deterministic , trick confirmation Repeatable Scalable Key contemplations: Easy to utilize AND Flexible Consistent and discoverable Fast and responsive Create custom-made mechanization crosswise over islands of innovation Support GUI and Command Line

Slide 14

Q & A

Slide 15

YOUR FEEDBACK IS IMPORTANT TO US! If you don\'t mind round out session assessment shapes online at MicrosoftPDC.com

Slide 16

Learn More On Channel 9 Expand your PDC encounter through Channel 9 Explore recordings, hands-on labs, test code and demos through the new Channel 9 instructional classes channel9.msdn.com/learn Built by Developers for Developers… .

Recommended
View more...