-
Notifications
You must be signed in to change notification settings - Fork 0
Get BapEnvironment
Retrieves information about Power Platform environments.
Get-BapEnvironment [[-EnvironmentId] <String>] [-FscmEnabled] [-AsExcelOutput]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
This function retrieves information about Power Platform environments from the Power Platform Admin Center (PPAC).
It allows filtering by environment ID, checking for Finance and Operations enabled environments, and exporting the results to Excel.
Get-BapEnvironment
This will return all environments in the Power Platform tenant.
Get-BapEnvironment -EnvironmentId "env-123"
This will return the environment with the id "env-123".
Get-BapEnvironment -FscmEnabled
This will return all environments in the Power Platform tenant that have Dynamics 365 ERP suite capabilities.
Get-BapEnvironment -FscmEnabled -AsExcelOutput
This will return all environments in the Power Platform tenant that have Dynamics 365 ERP suite capabilities. It will export the results to an Excel file.
The id of the environment that you want to work against.
Can be either the environment name, the environment GUID (PPAC) or the LCS environment ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: *
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the function to only return environments that have Dynamics 365 ERP suite capabilities (environments that is either linked or provisioned as an unified environment).
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the function to export the results 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: Mötz Jensen (@Splaxi)