Returns the scope of an installed module.
Get-ModuleScope.ps1 [[-Name] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-ModuleScope.ps1 Detextive
ModuleName Scope ———- —– Detextive CurrentUser
Get-ModuleScope.ps1 Pester
ModuleName Scope ———- —– Pester CurrentUser Pester AllUsers
Specifies names or name patterns of modules that this cmdlet gets. Wildcard characters are permitted.
Type: String
Parameter Sets: (All)
Aliases: ModuleName
Required: False
Position: 1
Default value: *
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.