Below is the code I am running:
Get-AzDataFactoryV2Trigger -ResourceGroupName "myrg" -DataFactoryName "myadf" | Select-Object Runtimestate, Properties.split(".",5)
Values in properties:
Microsoft.Azure.Management.DataFactory.Models.ScheduleTrigger
I wanted to display only ScheduleTrigger
Error:
A positional parameter cannot be found that accepts argument 'System.Object[]'.
How to fix this? and also please try to simply the code. I don't want it in one line
I guess we can do something like
$var = get-Az.. params..
select $_.col, $_.col.split etc...
Regards,
Vaibhav