Get-Domein
SYNOPSIS
Retrieve application details from a SharePoint list.
SYNTAX
Get-Domein [[-Application] <String>] [[-Team] <String>] [[-Properties] <String[]>] [[-URL] <Uri>]
[[-List] <String>] [<CommonParameters>]
DESCRIPTION
This function retrieves application details from a SharePoint list based on the specified application name or team. It connects to SharePoint Online, builds a query, and retrieves the relevant data. The results include properties such as Title, RoepNaam, Team, ApplicatieStatus, and more.
EXAMPLES
EXAMPLE 1
Retrieves details for the application "FinanceApp" from the SharePoint list.
EXAMPLE 2
Retrieves all applications associated with the "IT" team from the SharePoint list.
EXAMPLE 3
Uses the alias `Dom` to retrieve details for the application "HRApp" associated with the "HR" team.
PARAMETERS
-Application
The name or search string of the application to retrieve details for.
Type: String
Parameter Sets: (All)
Aliases: Identity, Name, RoepNaam, SearchString, Title
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Team
The team associated with the application.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Properties
The list of properties to retrieve for each application. Defaults to a predefined set of properties.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: @('Title', 'RoepNaam', 'Team', 'ApplicatieStatus', 'Omschrijving', 'Vereisten', 'aanvullendeopmerkingen', 'abuser', 'abbackup')
Accept pipeline input: False
Accept wildcard characters: False
-URL
The SharePoint Online URL of the site containing the list. Defaults to `https://gentplus.sharepoint.com/sites/Toepassingslijst`.
Type: Uri
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: Https://gentplus.sharepoint.com/sites/Toepassingslijst
Accept pipeline input: False
Accept wildcard characters: False
-List
The name of the SharePoint list to query. Defaults to `Applicaties`.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: Applicaties
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.