WriteEventLog Class

Activity to invoke the Microsoft.PowerShell.Management\Write-EventLog command in a workflow. This SDK programming element is introduced in Windows PowerShell 3.0.


Namespace: Microsoft.PowerShell.Management.Activities
Assembly: Microsoft.PowerShell.Management.Activities (in Microsoft.PowerShell.Management.Activities.dll)

'Usage
Dim instance As WriteEventLog

[GeneratedCodeAttribute(L"Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", L"3.0")] 
public ref class WriteEventLog sealed : public PSRemotingActivity
/** @attribute GeneratedCodeAttribute("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0") */ 
public final class WriteEventLog extends PSRemotingActivity
GeneratedCodeAttribute("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0") 
public final class WriteEventLog extends PSRemotingActivity

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft