Cmdlet reports nothing to log and continues without error.
Collecting jobs data...
Nothing to log.
Collecting jobs data... Done.
Actual behaviour
An exception is thrown.
Collecting jobs data...
Collecting jobs data... Done.
Export-AzureRmAutomationRunbookLog : The property 'Count' cannot be found on this object. Verify that the property exists.
At line:11 char:1
+ Export-AzureRmAutomationRunbookLog @Params
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Export-AzureRmAutomationRunbookLog], PropertyNotFoundException
+ FullyQualifiedErrorId : PropertyNotFoundStrict,Export-AzureRmAutomationRunbookLog
Environment data
Host
Name : Windows PowerShell ISE Host
Version : 5.1.14393.1066
InstanceId : 1ab6ae7a-2f9f-46fa-b484-7cec26ba3726
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : en-GB
CurrentUICulture : en-GB
PrivateData : Microsoft.PowerShell.Host.ISE.ISEOptions
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
Steps to recreate
Expected behaviour
Cmdlet reports nothing to log and continues without error.
Actual behaviour
An exception is thrown.
Environment data
Host
PSVersion
Modules