DSInternals/Src/DSInternals.PowerShell/Commands/ADSI/GetADSIAccountCommand.cs
Michael Grafnetter ce6abc1980 Added support for roamed credentials,
Domain backup keys are now exported as PFX, CER and PVK,
Minor bugfixes
2017-03-25 18:25:22 +01:00

19 lines
476 B
C#

namespace DSInternals.PowerShell.Commands
{
using DSInternals.Common.Data;
using System.Management.Automation;
[Cmdlet(VerbsCommon.Get, "ADSIAccount")]
[OutputType(typeof(DSAccount))]
public class GetADSIAccountCommand : ADSICommandBase
{
protected override void ProcessRecord()
{
foreach(var account in this.Client.GetAccounts())
{
this.WriteObject(account);
}
}
}
}