public void RemoteDelete() { //TODO: friggin 2008 LUA-must run as admin var t = new WinServiceDeleteTask("SrvTestWeb01", "FHLBank.Cue"); DeploymentResult o = t.VerifyCanRun(); t.Execute(); }
public void RemoteDelete() { var authInfo = GetAuthenticationInfo(); WmiService.WithAuthentication(authInfo.ServiceUserName, authInfo.ServicePassword); var t = new WinServiceDeleteTask(authInfo.MachineName, "DropkicKTestService"); DeploymentResult o = t.VerifyCanRun(); Log(o); AssertSuccess(o); var result = t.Execute(); Log(result); AssertSuccess(result); }