Get D365RunbookId - FH-Inway/d365fo.tools GitHub Wiki
Get runbook id
Get-D365RunbookId [-Path] <String> [<CommonParameters>]
Get the runbook id from inside a runbook file
Get-D365RunbookId -Path "C:\DynamicsAX\InstallationRecords\Runbooks\Runbook.xml"
This will inspect the Runbook.xml file and output the runbookid from inside the XML document.
Get-D365Runbook | Get-D365RunbookId
This will find all runbook file(s) and have them analyzed by the Get-D365RunbookId cmdlet to output the runbookid(s).
Get-D365Runbook -Latest | Get-D365RunbookId
This will find the latest runbook file and have it analyzed by the Get-D365RunbookId cmdlet to output the runbookid.
Path to the runbook file that you want to analyse
Accepts value from pipeline, also by property
Type: String
Parameter Sets: (All)
Aliases: File
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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.
Tags: Runbook, Analyze, RunbookId, Runbooks
Author: Mötz Jensen (@Splaxi)