Custom Components

Build custom components.

Components in PowerShell Universal apps are exposed as functions. You can combine built in components to produce your own custom components.

Example: People Picker

People Picker

The below example creates a New-UDPeoplePicker component from existing app components. You can use the New-UDPeoplePicker component in your apps. This function can either be defined within your app directly or within a Module.

This example users a published folder of avatars.

Last updated

Was this helpful?