< Back

Get-OnDemandModule

Sat Jan 18, 2020 5:50 pm

NAME Get-OnDemandModule



SYNOPSIS

Gets Ondemand-imported modules





SYNTAX

Get-OnDemandModule [[-Name] <String>] [-ListAvailable] [<CommonParameters>]





DESCRIPTION

Scans imported modules and returns the ones imported OnDemand





PARAMETERS

-Name <String>

Module Name



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ListAvailable [<SwitchParameter>]

returns available modules as well as already imported modules



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-OnDemandModule -Name AzureAD













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-OnDemandModule -Name ImportExcel -ListAvailable | Import-OndemandModule















RELATED LINKS