-
Notifications
You must be signed in to change notification settings - Fork 102
Test D365LabelIdIsValid
Checks if a string is a valid 'Label Id' format
Test-D365LabelIdIsValid [-LabelId] <String> [<CommonParameters>]
This function will validate if a string is a valid 'Label Id' format.
Test-D365LabelIdIsValid -LabelId "ABC123"
This will test the if the LabelId is valid. It will use the "ABC123" as the LabelId parameter.
The expected result is $true
Test-D365LabelIdIsValid -LabelId "@ABC123"
This will test the if the LabelId is valid. It will use the "@ABC123" as the LabelId parameter.
The expected result is $true
Test-D365LabelIdIsValid -LabelId "@ABC123_1"
This will test the if the LabelId is valid. It will use the "@ABC123_1" as the LabelId parameter.
The expected result is $false
Test-D365LabelIdIsValid -LabelId "ABC.123" #False
This will test the if the LabelId is valid. It will use the "ABC.123" as the LabelId parameter.
The expected result is $false
The LabelId string thay you want to validate
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
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.
Author: Alex Kwitny (@AlexOnDAX)
The intent of this function is to be used with other methods to create valid labels via scripting.
- Install as a non-Administrator
- Install as a Administrator
- Import d365fo.tools module
- List available commands from d365fo.tools module
- Get help content for a command
- Start, Stop and List services
- Import users into the D365FO environment
- Import external users into the D365FO environment
- Enable users in the D365FO environment
- Update users in the D365FO environment
- Provision D365FO environment to new Azure AD tenant
- Import a bacpac file into a Tier1 environment
- List modules / models
- Compile module
- Install AzCopy
- Install SqlPackage
- Install Nuget
- Speed up LCS download via AzCopy
- Download latest bacpac from LCS via AzCopy
- Register NuGet source
- Configure Azure Logic App
- Fix AzureStorageConfig
- Run a runnable class
- Update users in environment
- Work with Azure Storage Account
- Work with packages, resource label files, language and lables
- Working with the different D365 services