-
Notifications
You must be signed in to change notification settings - Fork 0
Get PpacTable
Get the tables (entities) from a given environment.
Get-PpacTable [-EnvironmentId] <String> [[-Name] <String>] [-OnlyCustom] [-AsExcelOutput]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
This cmdlet retrieves all tables (entities) from a given Power Platform environment.
It mimics the "Tables" view in the Power Apps maker portal, showing the table display name, logical name, type, managed state and customizability.
It is not specific to any security role - use the Get-PpacSecurityRoleTable cmdlet to see the tables assigned to a security role.
Get-PpacTable -EnvironmentId "ContosoEnv"
This command retrieves all tables from the environment "ContosoEnv" and displays their information in the console.
Get-PpacTable -EnvironmentId "ContosoEnv" -Name "*account*"
This command retrieves all tables with display names or logical names matching "account" from the environment "ContosoEnv" and displays their information in the console.
Get-PpacTable -EnvironmentId "ContosoEnv" -OnlyCustom
This command retrieves only the custom tables from the environment "ContosoEnv" and displays their information in the console.
Get-PpacTable -EnvironmentId "ContosoEnv" -AsExcelOutput
This command retrieves all tables from the environment "ContosoEnv". It will export the information to an Excel file.
The ID of the environment to retrieve the tables from.
Can be either the environment name, the environment GUID (PPAC) or the LCS environment ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name of the table to filter the tables by.
Can be either the table display name or the logical name.
Supports wildcard characters for flexible matching.
Type: String
Parameter Sets: (All)
Aliases: Table
Required: False
Position: 2
Default value: *
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the cmdlet to only include custom tables in the results.
This matches the "Custom" filter in the Power Apps maker portal.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the cmdlet to export the retrieved table information to an Excel file.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Trygve Bechsgaard