I am trying to unmanage nodes when I create them and here is my code, but they do not go unmanaged, What am I missing?
try
{
DateTime.Now.ToString("MM-dd-yyyy");
await swisClient.InvokeAsync("Orion.Nodes", "Unmanage", "[N:\"" + nodeId + "\"" + ",\"" + DateTime.Now.ToString("MM-dd-yyyy") + " 12:00:00 AM \"" + ",\"" + DateTime.Now.AddMonths(2).ToString("MM-dd-yyyy") + " 12:00:00 AM \"" + ",\"" + " false" + "\"]");
}